abc-messenger/main.py
Andrew Gundersen 5b54f3f636 working v1
2020-11-21 14:43:17 -06:00

18 lines
312 B
Python

# server.py
import typs
import queue
import asyncio
import websockets
import server
import message
# Run the ws server and the messenger concurrently.
async def main():
print(f"Crimata Messenger")
await asyncio.gather(server.lift(), message.run())
if __name__ == '__main__':
asyncio.run(main())