Skip to content

Instantly share code, notes, and snippets.

@Raynos Raynos/output Secret
Created Jan 13, 2013

What would you like to do?
test('low watermark _read', function (t) {
var r = new Readable({
isObjectStream: true,
lowWaterMark: 2,
highWaterMark: 4
var calls = 0;
r._read = function (n, cb) {
cb(null, "foo");
// touch to cause it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.