Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Timer

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Timer(callback: () => any, delay: number): Timer
  • Parameters

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

    • delay: number

    Returns Timer

Properties

Private callback

callback: () => any

Type declaration

    • (): any
    • Returns any

delay

delay: number

remaining

remaining: number = 0

start

start: number = 0

timerId

timerId: any = 0

Methods

clear

  • clear(): void

pause

  • pause(): void

resume

  • resume(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc