Calling scheduleOnce()
queues the timer to be called back once after the specified delay.
delay
delay
is the time until the timer fires, in seconds (different than Javascript's setInterval()
, which uses milliseconds).None (undefined
).
> timer = new Timer"Fired!";
undefined
> 2;
undefined
Fired!
XPLMScheduleFlightLoop
to schedule the timer.run_timer()