Class VibeTaskManager
Exposes primitives to run tasks through Vibe.d
Fields
Name | Type | Description |
---|---|---|
log
|
Logger | Logger used by this class |
tasks_started
|
ulong |
Methods
Name | Description |
---|---|
createTimer
(dg)
|
|
runTask
(dg)
|
|
setTimer
(timeout, dg, periodic)
|
|
wait
(dur)
|
|
createTimer
(dg)
|
Creates a new timer without arming it |
logStats
()
|
Log out the request stats |
setTimer
(timeout, dg, periodic)
|
Run an asynchronous task after a given time. |
Aliases
Name | Description |
---|---|
createTimer
|
|
setTimer
|
|
SafeTimerHandler
|
Recommended handler delegate for timers |
UnsafeTimerHandler
|
Unsafe timer handler, these will be run in trusted and exceptions
inside the handler will be logged
|