Options
All
  • Public
  • Public/Protected
  • All
Menu

Allows to create Timer which get deactivated automatically when the observer is stopped.

Hierarchy

  • Timer
    • ObserverTimer

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • observer: Observer<any>

    Returns ObserverTimer

Properties

Protected observer

observer: Observer<any>

Protected timeoutTimers

timeoutTimers: any[]

Methods

clear

  • clear(): void
  • Clears all timers at once.

    Returns void

setTimeout

  • setTimeout(cb: function, timeout: number): any
  • Parameters

    • cb: function
        • (): void
        • Returns void

    • timeout: number

    Returns any

Generated using TypeDoc