Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
Open

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

nponeccop opened this issue Mar 7, 2012 · 0 comments

Comments

@nponeccop
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant