MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / slow_coroutine

Function slow_coroutine

example_code/item_078.py:88–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86import time
87
88async def slow_coroutine():
89 time.sleep(0.5) # Simulating slow I/O
90
91asyncio.run(slow_coroutine(), debug=True)
92

Callers 1

item_078.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected