Skip to content 

ITimer Interface

Packages > @fluidframework/common-utils > ITimer

Signature:

export interface ITimer 

Properties

List of properties of this interface
Property Type Description
hasTimer boolean True if timer is currently running

Methods

List of methods of this class
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