mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
13 lines
223 B
Markdown
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)
|
|
|