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

A feature/option to define the criterion for the uncork #1

Open
subeeshcbabu-zz opened this issue Aug 29, 2017 · 0 comments
Open

A feature/option to define the criterion for the uncork #1

subeeshcbabu-zz opened this issue Aug 29, 2017 · 0 comments

Comments

@subeeshcbabu-zz
Copy link

  • It would be awesome if this module provides an option to define the criterion to trigger the uncork.

  • Lets say, there is a special character (end of stream character) that could trigger the flush/ uncork on the stream, it would so cool, to use this module to solve that use case.

  • https://github.com/indutny/cork-stream/blob/master/lib/cork-stream.js#L37 - basically take a user defined/ custom uncork function option to decide to trigger that based on the data written to the stream. process.nextTick(uncork, this);

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