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

Method runner

Lib/test/test_asyncio/test_pep492.py:183–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 f = None
182
183 async def runner():
184 nonlocal T
185 T = asyncio.ensure_future(foo(), loop=self.loop)
186 await T
187
188 self.loop.run_until_complete(runner())
189

Callers

nothing calls this directly

Calls 4

fooFunction · 0.50
create_taskMethod · 0.45
sleepMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected