tahamajs's picture
download
raw
221 Bytes
// Returns a function that will only be executed on and after the Nth call.
export default function after(times, func) {
return function() {
if (--times < 1) {
return func.apply(this, arguments);
}
};
}

Xet Storage Details

Size:
221 Bytes
·
Xet hash:
f946bb09709c44125625aba8c5abf4068d213c229d741b198713db139a15a1ea

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