Skip to content

WaitingTimer beta ​

Interface of @v12-engine/engine

ts
export interface WaitingTimer

A timer as the debug tools show it: seconds until it goes off, and between two times

Members ​

data ​

ts
data: unknown;

What it was set with, handed to the timer's run

every ​

ts
every?: number;

Seconds between two times, for one that repeats

id ​

ts
id: number;

The waiting timer's id in the world, for cancel and left

left ​

ts
left: number;

Seconds until it next goes off

timer ​

ts
timer: string;

The id of the TimerDef it runs

times ​

ts
times?: number;

How many more times it goes off, for one that repeats a number of times