MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / wrap_awaitable

Method wrap_awaitable

pager_lib/tqdm/asyncio.py:75–76  ·  view source on GitHub ↗
(i, f)

Source from the content-addressed store, hash-verified

73 Wrapper for `asyncio.gather`.
74 """
75 async def wrap_awaitable(i, f):
76 return i, await f
77
78 ifs = [wrap_awaitable(i, f) for i, f in enumerate(fs)]
79 res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected