AsyncTimer.oneShot

AsyncTimer oneShot(long delayMs) pure @safe nothrow @nogc

Creates a one-shot timer that fires after the specified delay.

Parameters

delayMsDelay before firing, in milliseconds.

Returns

A new AsyncTimer configured as a one-shot timer.