GTimer.this

this(float duration, bool canRepeat = false) @safe nothrow @nogc

Initializes the timer with the specified duration and repeat behavior.