Sha256: 156d236bba2e5fc53bf74f59cb171a23e7c873156ae86cf920fdebb823c3323d
Contents?: true
Size: 439 Bytes
Versions: 52
Compression:
Stored size: 439 Bytes
Contents
export default 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"); }
Version data entries
52 entries across 51 versions & 10 rubygems