Y
Hacker News
new
|
ask
|
show
|
jobs
by
_greim_
1060 days ago
Why not have it return an async iterable, which has both push and pull semantics? Combined with the iterable helpers proposal you'd get a lot of things for free, including end-to-end backpressure.