DEFAULT_SCHEDULER_CONFIG:Readonly<SchedulerConfig> = Object.freeze({numOfTicksBeforeReschedule: 300,meanTimeToReschedule: 1,meanTimeToYield: 5,debug: false,policy: 'FP',// If there are no animation frames, it does not make sense to// request them. This normally means that we do not run in a browser.onRequestAnimationFrame: !(typeof requestAnimationFrame === 'undefined')})
Const PriorityQueue
PriorityQueue:any = require("fastpriorityqueue")
Functions
getCurrentTimestamp
getCurrentTimestamp(): number
returns the current relative time, since the start of the webpage / script, in ms
returns the current relative time, since the start of the webpage / script, in ms