Files: d2f2697f296dd39aed6a8b63c6d04a736a7db5b3 / node_modules / pull-stream / docs / sources / empty.md
273 bytesRaw
pull-stream/sources/empty
usage
empty = require('pull-stream/sources/empty')
empty()
A stream with no contents (it just ends immediately)
pull(
pull.empty(),
pull.collect(function (err, ary) {
console.log(arg)
// ==> []
})
}
Built with git-ssb-web