Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pull-pause

dominictarr62.1kMIT0.0.2

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

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