(data)
| 56214 | return _getAsyncIteratorFromData.apply(this, arguments); |
| 56215 | } |
| 56216 | function getIteratorFromData(data) { |
| 56217 | if (ArrayBuffer.isView(data)) return (0, _regeneratorDefault.default).mark(function oneChunk() { |
| 56218 | return (0, _regeneratorDefault.default).wrap(function oneChunk$(_context) { |
| 56219 | while(true)switch(_context.prev = _context.next){ |
| 56220 | case 0: |
| 56221 | _context.next = 2; |
| 56222 | return data.buffer; |
| 56223 | case 2: |
| 56224 | case "end": |
| 56225 | return _context.stop(); |
| 56226 | } |
| 56227 | }, oneChunk); |
| 56228 | })(); |
| 56229 | if (data instanceof ArrayBuffer) return (0, _regeneratorDefault.default).mark(function oneChunk() { |
| 56230 | return (0, _regeneratorDefault.default).wrap(function oneChunk$(_context2) { |
| 56231 | while(true)switch(_context2.prev = _context2.next){ |
| 56232 | case 0: |
| 56233 | _context2.next = 2; |
| 56234 | return data; |
| 56235 | case 2: |
| 56236 | case "end": |
| 56237 | return _context2.stop(); |
| 56238 | } |
| 56239 | }, oneChunk); |
| 56240 | })(); |
| 56241 | if ((0, _isType.isIterator)(data)) return data; |
| 56242 | if ((0, _isType.isIterable)(data)) return data[Symbol.iterator](); |
| 56243 | throw new Error(ERR_DATA); |
| 56244 | } |
| 56245 | function getReadableStream(_x4) { |
| 56246 | return _getReadableStream.apply(this, arguments); |
| 56247 | } |
no outgoing calls
no test coverage detected