Function ITaskManager.createTimer

Creates a new timer without arming it

ITimer createTimer (
  nothrow @safe void delegate() dg
) nothrow @safe;

final ITimer createTimer (
  void delegate() dg
) nothrow @safe;

See Also

https://vibed.org/api/vibe.core.core/createTimer

Parameters

NameDescription
dg This delegate will be called when the timer fires

Returns

An ITimer interface with the ability to control the timer