Function createTimer
Creates a new timer without arming it.
Timer createTimer
(
nothrow @safe void delegate() callback = cast(void delegate() nothrow @safe)null
) nothrow @safe;
Each time callback
gets invoked, it will be run inside of a newly started
task.
Parameters
Name | Description |
---|---|
callback | If non-null , this delegate will be called when the timer
fires |