pull-pause

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
pull-pause
1100.0.26 years ago8 years agoMinified + gzip package size for pull-pause in KB

Readme

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