ITimer Interface
Packages > @fluidframework/common-utils > ITimer
Signature:
export interface ITimer
Properties
Property | Type | Description |
---|---|---|
hasTimer | boolean | True if timer is currently running |
Methods
Method | Description |
---|---|
clear() | Cancels the timer if already running |
start() | Starts the timer |
Events
hasTimer
True if timer is currently running
Signature:
readonly hasTimer: boolean;
Methods
clear
Cancels the timer if already running
Signature:
clear(): void;
Returns:
void
start
Starts the timer
Signature:
start(): void;
Returns:
void