download
raw
495 Bytes
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function promisify(fn) {
return function (req, opts) {
return new Promise((resolve, reject) => {
fn.call(this, req, opts, (err, rtn) => {
if (err) {
reject(err);
}
else {
resolve(rtn);
}
});
});
};
}
exports.default = promisify;
//# sourceMappingURL=promisify.js.map

Xet Storage Details

Size:
495 Bytes
·
Xet hash:
d746811348c77a87a6bae7659f7b0152d8e4b1455700bb91593f5bd0ecd77fa9

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