mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
21 lines
273 B
Markdown
21 lines
273 B
Markdown
# pull-stream/sources/empty
|
|
|
|
## usage
|
|
|
|
### `empty = require('pull-stream/sources/empty')`
|
|
|
|
### `empty()`
|
|
|
|
A stream with no contents (it just ends immediately)
|
|
|
|
``` js
|
|
pull(
|
|
pull.empty(),
|
|
pull.collect(function (err, ary) {
|
|
console.log(arg)
|
|
// ==> []
|
|
})
|
|
}
|
|
```
|
|
|