MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / slow

Function slow

19-concurrency/spinner_async.py:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 print(f'\r{blanks}\r', end='')
21
22async def slow() -> int:
23 await asyncio.sleep(3) # <4>
24 return 42
25# end::SPINNER_ASYNC_TOP[]
26
27# tag::SPINNER_ASYNC_START[]

Callers 1

supervisorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected