git ssb

2+

Dominic / pull-stream



Tree: 12f48f87e5e7e5e2d9d27836952b476f235fff89

Files: 12f48f87e5e7e5e2d9d27836952b476f235fff89 / 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