MCPcopy
hub / github.com/babel/babel / next

Function next

packages/babel-runtime-corejs3/helpers/esm/usingCtx.js:46–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 t = this.e,
45 s = 0;
46 function next() {
47 for (; o = n.pop();) try {
48 if (!o.a && 1 === s) return s = 0, _pushInstanceProperty(n).call(n, o), _Promise.resolve().then(next);
49 if (o.d) {
50 var r = o.d.call(o.v);
51 if (o.a) return s |= 2, _Promise.resolve(r).then(next, err);
52 } else s |= 1;
53 } catch (r) {
54 return err(r);
55 }
56 if (1 === s) return t !== e ? _Promise.reject(t) : _Promise.resolve();
57 if (t !== e) throw t;
58 }
59 function err(n) {
60 return t = t !== e ? new r(n, t) : n, next();
61 }

Callers 2

errFunction · 0.70
_usingCtxFunction · 0.70

Calls 2

errFunction · 0.70
callMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…