LitDev Extension API
LDTimer

Additional timers.
Add
![]() |
AddTick
![]() |
Interval
![]() |
LastTimer
![]() |
Pause
![]() |
Resume
![]() |
Tick
![]() |
Add()

Create a new timer. All timers created with this method call the event subroutine defined by Tick.
returns The timer name.
AddTick(tick)

Create a new timer. This timer only calls its own event subroutine.
tick The event subroutine for this timer.
returns The timer name.
Interval(timer,interval)

Starts or resumes a timer.
timer The timer name.
interval Sets the interval (in milliseconds) specifying how often the timer should raise the Tick event. This value can range from 10 to 100000000.
LastTimer

The last timer created with Add that raised an event.
Pause(timer)

Pauses a timer. Tick events will not be raised.
timer The timer name.
Resume(timer)

Resumes a timer from a paused state. Tick events will now be raised.
timer The timer name.
Tick

Raises an event when a timer created with Add ticks.