1 | # pull-stream/sources/empty
|
2 |
|
3 | ## usage
|
4 |
|
5 | ### `empty = require('pull-stream/sources/empty')`
|
6 |
|
7 | ### `empty()`
|
8 |
|
9 | A stream with no contents (it just ends immediately)
|
10 |
|
11 | ``` js
|
12 | pull(
|
13 | pull.empty(),
|
14 | pull.collect(function (err, ary) {
|
15 | console.log(arg)
|
16 | // ==> []
|
17 | })
|
18 | }
|
19 | ```
|
20 |
|