ktongue's picture
download
raw
246 Bytes
import {Timer} from "./timer.js";
export default function(callback, delay, time) {
var t = new Timer;
delay = delay == null ? 0 : +delay;
t.restart(elapsed => {
t.stop();
callback(elapsed + delay);
}, delay, time);
return t;
}

Xet Storage Details

Size:
246 Bytes
·
Xet hash:
606fb705d318eb273f81e34499110f940764c7e065bbf936278709bceb566f03

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