createTimer

Creates a new timer without arming it.

Each time callback gets invoked, it will be run inside of a newly started task.

@safe nothrow
createTimer
(
void delegate
()
nothrow @safe
callback = null
)

Parameters

callback void delegate
()
nothrow @safe

If non-null, this delegate will be called when the timer fires

See Also

createLeanTimer, setTimer

Meta