git ssb

2+

cel / scuttlebot.io



Tree: 55fa9f19815af5b0cf3144df0d5bc787bd4de820

Files: 55fa9f19815af5b0cf3144df0d5bc787bd4de820 / 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