mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
8d2339dd6e
commit
689049e37b
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user