aioreactive icon indicating copy to clipboard operation
aioreactive copied to clipboard

Concat with async iterables

Open tr11 opened this issue 6 years ago • 0 comments

I'm trying to adapt the concat operator to implement the catch_exception op, but just noticed that the concat fails with an async iterable. I'm using the following observable:

async def asynciter():
    for i in range(5):
        await asyncio.sleep(1)
        yield i
xs = from_async_iterable(asynciter())

I have a fork with a working catch_exception and retry here, as well as the tests mentioned: https://github.com/tr11/aioreactive/commit/6219f9a0761f69fa1765129b990762affdf661c8

tr11 avatar Mar 02 '18 22:03 tr11