Sha256: d08e6edc7ad01f1116fcbfbd11da76fd9ca700fc17b6e2d1067d16f55564fde3

Contents?: true

Size: 628 Bytes

Versions: 33

Compression:

Stored size: 628 Bytes

Contents

function asyncGeneratorStep(n, t, e, r, o, a, c) {
  try {
    var i = n[a](c),
      u = i.value;
  } catch (n) {
    return void e(n);
  }
  i.done ? t(u) : Promise.resolve(u).then(r, o);
}
function _asyncToGenerator(n) {
  return function () {
    var t = this,
      e = arguments;
    return new Promise(function (r, o) {
      var a = n.apply(t, e);
      function _next(n) {
        asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
      }
      function _throw(n) {
        asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
      }
      _next(void 0);
    });
  };
}
export { _asyncToGenerator as default };

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.26 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
immosquare-cleaner-0.1.50 node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.19 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
immosquare-cleaner-0.1.49 node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
immosquare-cleaner-0.1.48 node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js