stream: fixup writer to terminate on consumer return/throw · nodejs/node@7bfd81a · GitHub
Skip to content

Commit 7bfd81a

Browse files
jasnelladuh95
authored andcommitted
stream: fixup writer to terminate on consumer return/throw
Signed-off-by: James M Snell <jasnell@gmail.com> Assisted-by: Opencode PR-URL: #65652 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent dc2483c commit 7bfd81a

2 files changed

Lines changed: 47 additions & 19 deletions

File tree

‎lib/internal/streams/iter/push.js‎

Lines changed: 32 additions & 19 deletions

‎test/parallel/test-stream-iter-push-writer.js‎

Lines changed: 15 additions & 0 deletions

0 commit comments

Comments
 (0)