MCPcopy Create free account
hub / github.com/EmbodiedGPT/EmbodiedGPT_Pytorch / get_next

Function get_next

robohusky/utils.py:211–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209 ait = async_gen.__aiter__()
210
211 async def get_next():
212 try:
213 obj = await ait.__anext__()
214 return False, obj
215 except StopAsyncIteration:
216 return True, None
217
218 while True:
219 done, obj = event_loop.run_until_complete(get_next())

Callers 1

iter_over_asyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected