Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Scheduler"

Index

Variables

Const DEFAULT_SCHEDULER_CONFIG

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 number

    the current relative time in ms

Generated using TypeDoc