git ssb

2+

cel / scuttlebot.io



Tree: 07de6e0bf8f8051cfea29058496ca70ae04e5c99

Files: 07de6e0bf8f8051cfea29058496ca70ae04e5c99 / tmpl / apis / pull-stream / pull-pause.md

293 bytesRaw

pull-pause

a through pull-stream that can be turned on and off like a tap.

Example


var pull = require('pull-stream')
var pause = require('pull-pause')()


pull(
  source,
  pause,
  sink
)

pause.pause() //stop reading.

pause.resume() //resume reading.

License

MIT

Built with git-ssb-web