pull-pause
a through pull-stream that can be turned on and off like a tap.
Last updated 8 years ago by dominictarr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pull-pause 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.2                                ...           latest (8 years ago)

3 Versions

  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           9 years ago
  • 0.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)

Copyright 2013 - present © cnpmjs.org | Home |