Skip to content

TimerInfo beta ​

Interface of @v12-engine/engine

ts
export interface TimerInfo

What a timer's handler is told about the time it went off

Members ​

id ​

ts
id: number;

The id of the timer that went off, as world.timers gave it

left ​

ts
left?: number;

How many more times it goes off after this one: 0 for the last, undefined for one that repeats forever