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

Function main

19-concurrency/spinner_async_experiment.py:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32# end::SPINNER_ASYNC_EXPERIMENT[]
33
34def main() -> None:
35 result = asyncio.run(supervisor())
36 print(f'Answer: {result}')
37
38if __name__ == '__main__':
39 main()

Callers 1

Calls 2

supervisorFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected