Type alias ScheduleFunction

ScheduleFunction: ((callback: (() => void), timeout?: number) => void)

Type declaration

    • (callback: (() => void), timeout?: number): void
    • Asynchronous scheduling function. By default this is requestAnimationFrame when available and setTimeout when not.

      Parameters

      • callback: (() => void)
          • (): void
          • Returns void

      • Optional timeout: number

      Returns void

Generated using TypeDoc