tsbase
    Preparing search index...

    Interface ITimer

    interface ITimer {
        AutoReset: boolean;
        Elapsed: (() => void)[];
        Enabled: boolean;
        Interval: number;
        Start(): Promise<any>;
        Stop(): void;
    }

    Implemented by

    Index

    Properties

    AutoReset: boolean

    Boolean indicating whether the Timer should raise the Elapsed event only once (false) or repeatedly (true).

    Elapsed: (() => void)[]

    List of functions to be called on each time the interval specified elapses

    Enabled: boolean

    Boolean indicating whether the Timer should raise the Elapsed event.

    Interval: number

    The interval, expressed in milliseconds, at which to raise the Elapsed event.

    Methods