Python Asynchronous Comprehensions – how do they work?
You are basically asking how an async for loop works over a regular loop. That you can now use such a loop in a list comprehension doesn’t make any difference here; that’s just an optimisation that avoids repeated list.append() calls, exactly like a normal list comprehension does. An async for loop then, simply awaits each … Read more