ebonnal / streamable

Expressive iteration in Python: fluent, typed, lazy, and concurrent
Apache License 2.0
5 stars 0 forks source link

Make `Stream[T]` implement `AsyncIterable[T]` too #8

Open ebonnal opened 2 months ago

ebonnal commented 2 months ago

An AsyncIterable[T] implements __aiter__(self) -> AsyncIterator[T] An AsyncIterator[T] implements __anext__(self) -> T

it allows async for _ in aiterable

expected TODO: