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

Function reject

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

Source from the content-addressed store, hash-verified

235 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
236 function fulfill(value) { resume("next", value); }
237 function reject(value) { resume("throw", value); }
238 function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
239}
240

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…