Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

.resume, .pause and .destroy are not implemented #17

Open
nponeccop opened this Issue Mar 7, 2012 · 0 comments

Comments

Projects
None yet
1 participant

This makes lazy streams different from usual streams and almost useless (e.g. you cannot pipe or pump)

I use an ugly monkey-patching to stub these methods. It seems to work, but may cause data loss:

var ll = new Lazy()
ll.resume = function () { console.log('resume') }
ll.pause = function () { console.log('pause') }
ll.destroy = function () { console.log('destroy') }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment