Skip to main content

Timer

Index

Type Aliases

CustomTimer

CustomTimer: { callback: () => void; lastTime: number; repeat: boolean; timeMs: number; type: CustomTimerType }

Type declaration

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

  • lastTime: number
  • repeat: boolean
  • timeMs: number
  • type: CustomTimerType

CustomTimerType

CustomTimerType: background | foreground | universal
Page Options