MCPcopy Index your code
hub / github.com/nodejs/node / concat_async

Function concat_async

tools/inspector_protocol/jinja2/asyncsupport.py:22–28  ·  view source on GitHub ↗
(async_gen)

Source from the content-addressed store, hash-verified

20
21
22async def concat_async(async_gen):
23 rv = []
24 async def collect():
25 async for event in async_gen:
26 rv.append(event)
27 await collect()
28 return concat(rv)
29
30
31async def generate_async(self, *args, **kwargs):

Callers 2

render_asyncFunction · 0.85
async_callFunction · 0.85

Calls 2

concatFunction · 0.85
collectFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…