D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
washeet.softurecs.com
/
node_modules
/
axios
/
lib
/
helpers
/
Filename :
readBlob.js
back
Copy
const {asyncIterator} = Symbol; const readBlob = async function* (blob) { if (blob.stream) { yield* blob.stream() } else if (blob.arrayBuffer) { yield await blob.arrayBuffer() } else if (blob[asyncIterator]) { yield* blob[asyncIterator](); } else { yield blob; } } export default readBlob;