MCPcopy
hub / github.com/Kong/insomnia / resume

Function resume

packages/insomnia/bin/yarn-standalone.js:250–250  ·  view source on GitHub ↗
(n, v)

Source from the content-addressed store, hash-verified

248 return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
249 function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
250 function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
251 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
252 function fulfill(value) { resume("next", value); }
253 function reject(value) { resume("throw", value); }

Callers 5

verbFunction · 0.85
fulfillFunction · 0.85
rejectFunction · 0.85
settleFunction · 0.85
yarn-standalone.jsFile · 0.85

Calls 2

stepFunction · 0.85
settleFunction · 0.85

Tested by

no test coverage detected