We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
setPromiseHandled
1 parent 1f9636a commit 78b154bCopy full SHA for 78b154b
1 file changed
lib/internal/webstreams/util.js
@@ -178,7 +178,7 @@ function setPromiseHandled(promise) {
178
// MarkAsHandled, but this avoids the extra boundary cross
179
// and is hopefully faster at the cost of an extra Promise
180
// allocation.
181
- PromisePrototypeThen(promise, () => {}, () => {});
+ PromisePrototypeThen(promise, undefined, () => {});
182
}
183
184
async function nonOpFlush() {}
0 commit comments