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

Function __asyncDelegator

packages/insomnia/bin/yarn-standalone.js:257–261  ·  view source on GitHub ↗
(o)

Source from the content-addressed store, hash-verified

255}
256
257function __asyncDelegator(o) {
258 var i, p;
259 return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
260 function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
261}
262
263function __asyncValues(o) {
264 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");

Callers

nothing calls this directly

Calls 1

verbFunction · 0.85

Tested by

no test coverage detected