0.0.2 • Published 6 years ago

pull-pause v0.0.2

Weekly downloads
2,995
License
MIT
Repository
github
Last release
6 years ago

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