UNPKG

223 BMarkdownView Raw
1# pull-stream/sources/count
2
3## usage
4
5### `count = require('pull-stream/sources/count')`
6
7### `count(max, onAbort)`
8
9create a stream that outputs `0 ... max`.
10by default, `max = Infinity`, see
11[take](../throughs/take.md)
12