Searched refs:async_gen (Results 1 – 6 of 6) sorted by relevance
22 async def concat_async(async_gen): argument25 async for event in async_gen:45 async_gen = self.generate_async(*args, **kwargs)48 yield loop.run_until_complete(async_gen.__anext__())
18 async def concat_async(async_gen): argument22 async for event in async_gen:40 async_gen = self.generate_async(*args, **kwargs)43 yield loop.run_until_complete(async_gen.__anext__())
134 def compare_generators(self, sync_gen, async_gen): argument173 async_gen_result = async_iterate(async_gen)278 async def async_gen(): function288 self.compare_generators(sync_gen(), async_gen())301 async def async_gen(): function313 self.compare_generators(sync_gen(), async_gen())326 async def async_gen(): function338 self.compare_generators(sync_gen(), async_gen())362 async def async_gen(): function368 asg = async_gen()
302 struct _Py_async_gen_state async_gen; member
1465 return &interp->async_gen; in get_async_gen_state()1489 struct _Py_async_gen_state *state = &interp->async_gen; in _PyAsyncGen_ClearFreeLists()1511 struct _Py_async_gen_state *state = &interp->async_gen; in _PyAsyncGen_Fini()