Class SimpleTimerInternal

A simple timer that stores only the latest measurement.

Hierarchy

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

name: string
running: boolean = false

true if timer has been started.

statistics: Statistics

Accessors

Methods

  • Sets the measurement value for the amount of time that has elapsed from start() to stop(). Use this function to override the timer's duration.

    Parameters

    • val: undefined | number

      The timer's duration.

    Returns void

Generated using TypeDoc