No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
dominictarr Merge pull request #7 from camillem/patch-1
Using SPDX syntax for license field
Latest commit ef9e0d1 Dec 3, 2017
Failed to load latest commit information.
test assert that end will be buffered Aug 18, 2012
.gitignore .gitignore Jul 12, 2012
LICENSE Add LICENSE file Sep 20, 2013
index.js just re-export through Feb 5, 2013
package.json Using SPDX syntax for license field Nov 29, 2017
readme.markdown just use through Apr 22, 2013



This is a Stream that will strictly buffer when paused. Connect it to anything you need buffered.

  var ps = require('pause-stream')();


  aLittleLater(function (err, data) {

PauseStream will buffer whenever paused. it will buffer when yau have called pause manually. but also when it's downstream dest.write()===false. it will attempt to drain the buffer when you call resume or the downstream emits 'drain'

PauseStream is tested using stream-spec and stream-tester

This is now the default case of through