Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

  • [toPrimitive](): number
  • Returns number

  • hasRef(): boolean
  • If true, the Timeout object will keep the Node.js event loop active.

    since

    v11.0.0

    Returns boolean

  • Returns Timeout

  • Sets the timer's start time to the current time, and reschedules the timer to call its callback at the previously specified duration adjusted to the current time. This is useful for refreshing a timer without allocating a new JavaScript object.

    Using this on a timer that has already called its callback will reactivate the timer.

    since

    v10.2.0

    Returns Timeout

    a reference to timeout

  • Returns Timeout

Generated using TypeDoc