|
|
|
|
|
by michalc
2115 days ago
|
|
Hi, author here, While yes, running a coroutine in a new task is in the standard library, that is only a component of what this library does, which is: - given an async iterable, - iterating over it in a new task, into a buffer, - and then returning an iterable that yields values from this buffer as it's filled. I don't _think_ this logic is in the standard library, at least not at https://docs.python.org/3/library/asyncio-task.html#asyncio.... from what I can see. |
|
Have you thought about making it work as a decorator?