MCPcopy Index your code
hub / github.com/python-websockets/websockets / main

Function main

example/quick/counter.py:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 broadcast(USERS, users_event())
44
45async def main():
46 async with serve(counter, "localhost", 6789) as server:
47 await server.serve_forever()
48
49if __name__ == "__main__":
50 asyncio.run(main())

Callers 1

counter.pyFile · 0.70

Calls 2

serveFunction · 0.90
serve_foreverMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…