Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
Document require("stream/promises").pipelineend option#48970
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
require("stream/promises").pipelineend optionaloisklink commented Aug 1, 2023
nodejs-github-bot commented Aug 10, 2023
aloisklink commented Aug 20, 2023 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
CI seems to have failed due to a It sounds like this is just a random error unrelated to this PR due to a CI worker dying/losing connection. Can a maintainer re-add a request-ci label? Edit: It may also be worth labeling this PR as doc (and maybe test too) |
nodejs-github-bot commented Aug 26, 2023
nodejs-github-bot commented Sep 7, 2023
7a279a1 to 7ea65beComparenodejs-github-bot commented May 11, 2024
nodejs-github-bot commented May 12, 2024
Add test that confirms that `stream.promises.pipeline(source, transform, dest,{end: false});` only skips ending the destination stream. `{end: false}` should still end any transform streams. PR-URL: nodejs#48970 Reviewed-By: Luigi Pinca <[email protected]>There is currently no documentation about what the `end` option in `stream.promises.pipeline` does. Refs: nodejs#40886 Refs: nodejs#34805 (comment)Fixes: nodejs#45821 PR-URL: nodejs#48970 Reviewed-By: Luigi Pinca <[email protected]>
7ea65be to ca2f874Compareaduh95 commented May 12, 2024
Landed in 1223294...ca2f874 |
Add test that confirms that `stream.promises.pipeline(source, transform, dest,{end: false});` only skips ending the destination stream. `{end: false}` should still end any transform streams. PR-URL: #48970 Reviewed-By: Luigi Pinca <[email protected]>There is currently no documentation about what the `end` option in `stream.promises.pipeline` does. Refs: #40886 Refs: #34805 (comment)Fixes: #45821 PR-URL: #48970 Reviewed-By: Luigi Pinca <[email protected]>
Add test that confirms that `stream.promises.pipeline(source, transform, dest,{end: false});` only skips ending the destination stream. `{end: false}` should still end any transform streams. PR-URL: #48970 Reviewed-By: Luigi Pinca <[email protected]>There is currently no documentation about what the `end` option in `stream.promises.pipeline` does. Refs: #40886 Refs: #34805 (comment)Fixes: #45821 PR-URL: #48970 Reviewed-By: Luigi Pinca <[email protected]>
Add test that confirms that `stream.promises.pipeline(source, transform, dest,{end: false});` only skips ending the destination stream. `{end: false}` should still end any transform streams. PR-URL: #48970 Reviewed-By: Luigi Pinca <[email protected]>There is currently no documentation about what the `end` option in `stream.promises.pipeline` does. Refs: #40886 Refs: #34805 (comment)Fixes: #45821 PR-URL: #48970 Reviewed-By: Luigi Pinca <[email protected]>
Add test that confirms that `stream.promises.pipeline(source, transform, dest,{end: false});` only skips ending the destination stream. `{end: false}` should still end any transform streams. PR-URL: #48970 Reviewed-By: Luigi Pinca <[email protected]>There is currently no documentation about what the `end` option in `stream.promises.pipeline` does. Refs: #40886 Refs: #34805 (comment)Fixes: #45821 PR-URL: #48970 Reviewed-By: Luigi Pinca <[email protected]>
Add test that confirms that `stream.promises.pipeline(source, transform, dest,{end: false});` only skips ending the destination stream. `{end: false}` should still end any transform streams. PR-URL: nodejs#48970 Reviewed-By: Luigi Pinca <[email protected]>There is currently no documentation about what the `end` option in `stream.promises.pipeline` does. Refs: nodejs#40886 Refs: nodejs#34805 (comment)Fixes: nodejs#45821 PR-URL: nodejs#48970 Reviewed-By: Luigi Pinca <[email protected]>
Add test that confirms that `stream.promises.pipeline(source, transform, dest,{end: false});` only skips ending the destination stream. `{end: false}` should still end any transform streams. PR-URL: nodejs#48970 Reviewed-By: Luigi Pinca <[email protected]>There is currently no documentation about what the `end` option in `stream.promises.pipeline` does. Refs: nodejs#40886 Refs: nodejs#34805 (comment)Fixes: nodejs#45821 PR-URL: nodejs#48970 Reviewed-By: Luigi Pinca <[email protected]>
Add documentation for the
require("stream/promises").pipeline(...streams,{end: false})option, that was added in #40886.The lacking documentation has been mentioned before (see #34805 (comment), and #45821), but although #45832 did document that the
endoption existed, it didn't document what theendoption did.I've also added a test to sanity check that setting
end: falsedoesn't stop endingtransformstreams when callingpipeline(), since this behavior seems a bit unintuitive to me.