Sha256: b3d971b18d8bb2ef485e29fcf301d54da00c1f05bbe6a7af7053141aaba2b39f
Contents?: true
Size: 716 Bytes
Versions: 9
Compression:
Stored size: 716 Bytes
Contents
var _getIteratorMethod = require("../core-js/get-iterator-method"); var _Symbol$iterator = require("../core-js/symbol/iterator"); var _Symbol$asyncIterator = require("../core-js/symbol/async-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 = _getIteratorMethod(iterable); if (method != null) return method.call(iterable); } } throw new TypeError("Object is not async iterable"); } module.exports = _asyncIterator;
Version data entries
9 entries across 9 versions & 1 rubygems