AsyncTimer.repeating

AsyncTimer repeating(long intervalMs, long initialDelayMs = - 1) pure @safe nothrow @nogc

Creates a repeating timer with the specified interval.

Parameters

intervalMsInterval between firings, in milliseconds.
initialDelayMsOptional initial delay before the first firing. Defaults to the interval value.

Returns

A new AsyncTimer configured as a repeating timer.