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

Function fulfill

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

Source from the content-addressed store, hash-verified

234 function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
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}

Callers

nothing calls this directly

Calls 1

resumeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…