Quantumbraid's picture
download
raw
402 Bytes
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
let promise
module.exports = typeof queueMicrotask === 'function'
? queueMicrotask.bind(typeof window !== 'undefined' ? window : global)
// reuse resolved promise, and allocate it lazily
: cb => (promise || (promise = Promise.resolve()))
.then(cb)
.catch(err => setTimeout(() => { throw err }, 0))

Xet Storage Details

Size:
402 Bytes
·
Xet hash:
ae80f69832ac805227ec8340d259d0979ff1d7b4cc047179da2fda386d3a3b79

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.