Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RequestAnimationScheduler

Scheduler for the process system. Uses window.requestAnimationFrame to schedule process execution Good for processes that do a lot of dom manipulation

Hierarchy

Index

Constructors

constructor

Properties

invokeLater

invokeLater: function

Type declaration

    • (callback: function): void
    • Parameters

      • callback: function
          • (): void
          • Returns void

      Returns void

isRunning

isRunning: boolean

queues

queues: Map<PID, ProcessQueue>

reductions_per_process

reductions_per_process: number

Methods

_run

  • _run(run: FrameRequestCallback): void

addToQueue

  • addToQueue(pid: PID, task: function): void

addToScheduler

  • addToScheduler(pid: PID, task: function, dueTime?: number): void

removePid

  • removePid(pid: PID): void

run

  • run(): void

schedule

  • schedule(pid: PID, task: function): void

scheduleFuture

  • scheduleFuture(pid: PID, dueTime: number, task: function): void

Generated using TypeDoc