MCPcopy Create free account
hub / github.com/microsoft/tslib / reject

Function reject

tslib.js:286–286  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

284 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
285 function fulfill(value) { resume("next", value); }
286 function reject(value) { resume("throw", value); }
287 function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
288 };
289

Callers 2

fulfilledFunction · 0.70
rejectedFunction · 0.70

Calls 1

resumeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…