-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.streamIssues and PRs related to the stream subsystem.Issues and PRs related to the stream subsystem.
Description
Would be useful if streams kept track of what error it emitted if it errored.
For example this would allow async iterators to re-throw errors when creating an iterator to an already destroyed/errored stream.
We already have the _writableState.errorEmitted
which we could re-use to store the error instead of a boolean.
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.streamIssues and PRs related to the stream subsystem.Issues and PRs related to the stream subsystem.