Swap-Aggregator-Subgraph/node_modules/pull-stream/docs/sources/count.md
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

13 lines
223 B
Markdown

# pull-stream/sources/count
## usage
### `count = require('pull-stream/sources/count')`
### `count(max, onAbort)`
create a stream that outputs `0 ... max`.
by default, `max = Infinity`, see
[take](../throughs/take.md)