git ssb

2+

Dominic / pull-stream



Tree: 11f0d082fcb805336ce40ead36918a2dc3cf4ee7

Files: 11f0d082fcb805336ce40ead36918a2dc3cf4ee7 / 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