Class ObserverTimer

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

Hierarchy

  • Timer
    • ObserverTimer

Constructors

Properties

Methods

Constructors

Properties

observer: Observer<any>
state: {
    closed: boolean;
} = ...

Type declaration

  • closed: boolean

Methods

  • Parameters

    • cb: (() => void)
        • (): void
        • Returns void

    • timeout: number

    Returns any

Generated using TypeDoc