vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Function EventDriverTimers.set

Run the timer.

abstract void set (
  TimerID timer,
  core.time.Duration timeout,
  core.time.Duration repeat
) nothrow @safe;

Parameters

NameDescription
timer the id of the timer, created by create call.
timeout a duration to the first firing of the timer
repeat a duration between periodic timer firings - set to zero to set a single-fire timer
Authors
Copyright
License