Constructors

Properties

correlationTag: number
name: string
rejectionFunc: any = null
timeoutHandle: any = null

Methods

  • Aborts the timer: rejects the promise (if any) and stops the timer.

    Returns void

  • Returns whether the timer is stopped.

    Returns boolean

  • Starts the timer.

    Parameters

    • timeout: number

      The time (in milliseconds) to wait until resolving the promise.

    Returns Promise<void>