Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ run_async_server
Function
run_async_server
example_code/item_076.py:443–448 ·
view source on GitHub ↗
(address)
Source
from the content-addressed store, hash-verified
441
pass
442
443
async
def
run_async_server(address):
444
server = await asyncio.start_server(
445
handle_async_connection, *address
446
)
447
async
with
server:
448
await server.serve_forever()
449
450
451
print(
"Example 28"
)
Callers
1
main_async
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected