MCPcopy Index your code
hub / github.com/nodejs/node / setPromiseHandled

Function setPromiseHandled

lib/internal/webstreams/util.js:225–231  ·  view source on GitHub ↗
(promise)

Source from the content-addressed store, hash-verified

223}
224
225function setPromiseHandled(promise) {
226 // Alternatively, we could use the native API
227 // MarkAsHandled, but this avoids the extra boundary cross
228 // and is hopefully faster at the cost of an extra Promise
229 // allocation.
230 PromisePrototypeThen(promise, undefined, () => {});
231}
232
233async function nonOpFlush() {}
234

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…