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

Function main

example/deployment/render/app.py:20–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20async def main():
21 async with serve(echo, "", 8080, process_request=health_check) as server:
22 loop = asyncio.get_running_loop()
23 loop.add_signal_handler(signal.SIGTERM, server.close)
24 await server.wait_closed()
25
26
27if __name__ == "__main__":

Callers 1

app.pyFile · 0.70

Calls 2

serveFunction · 0.90
wait_closedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…