MCPcopy Index your code
hub / github.com/RustPython/RustPython / f_aiter

Function f_aiter

extra_tests/snippets/syntax_async_comprehension.py:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14
15async def f_aiter():
16 for i in range(5):
17 await asyncio.sleep(0.001)
18 yield i
19
20
21async def run_async():

Callers 2

run_asyncFunction · 0.85
run_syncFunction · 0.85

Calls 1

sleepMethod · 0.45

Tested by

no test coverage detected