Files: 2bb2f9e22cb3fc3c6bf54323d0c3b964ab7b2da8 / 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