ebonnal / streamable

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

`.limit`: add a `predicate: Callable[[T], bool]` parameter to stop the iteration based on an arbitrary condition #11

Closed ebonnal closed 1 month ago

ebonnal commented 1 month ago

tackled by the when parameter of .truncate