Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Interval

Hierarchy

  • Interval

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

isRunning

  • get isRunning(): boolean
  • Returns value that defines whether the instance is running.

    Returns boolean

    Value that defines whether the instance is running.

Methods

start

  • start(): this
  • Starts the instance.

    throws

    {Error} Throws an error if the instance is already running.

    Returns this

    Current instance.

stop

  • stop(): this
  • Stops the instance.

    throws

    {Error} Throws an error if the instance is already stopped.

    Returns this

    Current instance.

Generated using TypeDoc