ebonnal / streamable

[Python] Stream-like manipulation of iterables.
Apache License 2.0
131 stars 0 forks source link

`.group`: ensure that at most `interval` seconds separate the yields of first and last elem #24

Closed ebonnal closed 2 months ago

ebonnal commented 2 months ago

Current behavior being "interval (float, optional): Yields a group if interval seconds have passed since the last group was yielded (default is infinity)."

ebonnal commented 2 months ago

Current behavior is maybe more intuitive