stream: swap the order of stream/iter result fields

Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66504
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
James M Snell committed 2026-11-22 08:28:25 -08:00
1 parent 4220edbd3c
commit d46aeccac0
1 file changed
+1 -1
+1 -1
View File
@@ -173,7 +173,7 @@ const kReadFailed = Symbol('kReadFailed');
const kSetReadHandlers = Symbol('kSetReadHandlers');
const kRead = Symbol('kRead');
// The result kReadUncancellable gives once the source is done.
const kDoneSourceResult = ObjectFreeze({ __proto__: null, done: true, value: undefined });
const kDoneSourceResult = ObjectFreeze({ __proto__: null, value: undefined, done: true });
function createNormalizationIterator(createIterator) {
const context = createNormalizationContext();