Sha256: c82e4cf653f954fcd5c86abbc06ba042f41664a0921773382c91d684cc66124d

Contents?: true

Size: 580 Bytes

Versions: 30

Compression:

Stored size: 580 Bytes

Contents

function _asyncIterator(iterable) {
  var method;

  if (typeof Symbol !== "undefined") {
    if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator];
    if (method == null && Symbol.iterator) method = iterable[Symbol.iterator];
  }

  if (method == null) method = iterable["@@asyncIterator"];
  if (method == null) method = iterable["@@iterator"];
  if (method == null) throw new TypeError("Object is not async iterable");
  return method.call(iterable);
}

module.exports = _asyncIterator;
module.exports["default"] = module.exports, module.exports.__esModule = true;

Version data entries

30 entries across 30 versions & 3 rubygems

Version Path
isomorfeus-redux-4.2.0 node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.18 node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.17 node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.16 node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.15 node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.14 node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.13 node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.12 node_modules/@babel/runtime/helpers/asyncIterator.js
disco_app-0.16.1 test/dummy/node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.11 node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.10 node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.9 node_modules/@babel/runtime/helpers/asyncIterator.js
disco_app-0.15.2 test/dummy/node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.8 node_modules/@babel/runtime/helpers/asyncIterator.js
isomorfeus-redux-4.1.7 node_modules/@babel/runtime/helpers/asyncIterator.js
disco_app-0.18.4 test/dummy/node_modules/@babel/runtime/helpers/asyncIterator.js
disco_app-0.18.1 test/dummy/node_modules/@babel/runtime/helpers/asyncIterator.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/runtime/helpers/asyncIterator.js
disco_app-0.14.0 test/dummy/node_modules/@babel/runtime/helpers/asyncIterator.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/runtime/helpers/asyncIterator.js