mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
12 lines
265 B
Markdown
12 lines
265 B
Markdown
# pull-stream/sources/infinite
|
|
|
|
## usage
|
|
|
|
### `infinite = require('pull-stream/sources/infinite')`
|
|
|
|
### `infinite(generator, onAbort)`
|
|
|
|
create an unending stream by repeatedly calling a generator
|
|
function (by default, `Math.random`)
|
|
see [take](../throughs/take.md)
|