Sha256: 787d6710c3ba5ae40ab1dd16f23cd0d0c4ccb7694fa76c944fe215c53e6d817d

Contents?: true

Size: 571 Bytes

Versions: 1

Compression:

Stored size: 571 Bytes

Contents

var _Symbol$iterator = require("../core-js/symbol/iterator");

var _Symbol = require("../core-js/symbol");

function _asyncIterator(iterable) {
  var method;

  if (typeof _Symbol !== "undefined") {
    if (_Symbol.asyncIterator) {
      method = iterable[_Symbol.asyncIterator];
      if (method != null) return method.call(iterable);
    }

    if (_Symbol$iterator) {
      method = iterable[_Symbol$iterator];
      if (method != null) return method.call(iterable);
    }
  }

  throw new TypeError("Object is not async iterable");
}

module.exports = _asyncIterator;

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
condenser-0.0.5 lib/condenser/processors/node_modules/@babel/runtime-corejs2/helpers/asyncIterator.js