stream: eos make const state const · nodejs/node@f263659 · GitHub
Skip to content

Commit f263659

Browse files
ronagMylesBorins
authored andcommitted
stream: eos make const state const
writable & readable is based on type and is not actual state, treat them as such. Backport-PR-URL: #32178 PR-URL: #32031 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 4b04bf8 commit f263659

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

lib/internal/streams/end-of-stream.js

Lines changed: 7 additions & 11 deletions

test/parallel/test-stream-finished.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)