MCPcopy Create free account
hub / github.com/python-websockets/websockets / main

Function main

example/legacy/unix_server.py:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 print(f">>> {greeting}")
18
19async def main():
20 socket_path = os.path.join(os.path.dirname(__file__), "socket")
21 async with unix_serve(hello, socket_path):
22 await asyncio.get_running_loop().create_future() # run forever
23
24asyncio.run(main())

Callers 1

unix_server.pyFile · 0.70

Calls 1

unix_serveFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…