Files: 1d1966f84c7dd4bf7fb3b3897d376fc2603f309d / 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