Implements

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • name: string
    • intervalMs: number
    • callback: Callback
    • isPeriodic: boolean

    Returns StandardTimer

Properties

intervalMs: number

Interval (diagnostics)

isPeriodic: boolean

Is the timer periodic? (diagnostics)

isRunning: boolean

Is true if this timer is running.

name: string

Name (diagnostics)

Accessors

  • get systemId(): number
  • System ID (diagnostics)

    Returns number

  • get utility(): boolean
  • Set to true to indicate the timer should not prevent program exit

    Returns boolean

  • set utility(utility): void
  • Set to true to indicate the timer should not prevent program exit

    Parameters

    • utility: boolean

    Returns void

Methods

  • Starts this timer, chainable.

    Returns this

  • Stops this timer, chainable.

    Returns this