MCPcopy Index your code
hub / github.com/python/cpython / runner

Method runner

Lib/test/test_asyncio/test_free_threading.py:48–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 future.set_result(None)
47
48 def runner():
49 with asyncio.Runner() as runner:
50 loop = runner.get_loop()
51 loop.set_task_factory(self.factory)
52 runner.run(main())
53
54 threads = []
55

Callers

nothing calls this directly

Calls 5

funcFunction · 0.70
mainFunction · 0.50
get_loopMethod · 0.45
set_task_factoryMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected