Timer Class

Notifies handler after a set interval.


Name Description
constructor(msDelay: number): Timer Creates a new Timer.  
setOnExecute(onExecute: ExecuteHandler | undefined): void Set handler that is called after a set interval.  
start(): void Starts this Timer.  
stop(): void Stops this Timer.  


Name Type Description
delay Accessor number Time interval in milliseconds after which handler will be notified.  
isRunning Accessor ReadOnly boolean Indicates whether the timer is running  

Defined in

Last Updated: 08 January, 2020