MCPcopy Index your code
hub / github.com/pythonprofilers/memory_profiler / main

Function main

test/test_async.py:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 del b
13
14async def main():
15 task = asyncio.create_task(my_func())
16 res = await asyncio.gather(task)
17
18async def main_legacy():
19 future = asyncio.ensure_future(my_func())

Callers 1

test_async.pyFile · 0.70

Calls 1

my_funcFunction · 0.70

Tested by

no test coverage detected