runTask
- Task runTask(void delegate(ARGS) @(safe) task, ARGS args)
- Task runTask(void delegate(ARGS) @(system) task, ARGS args)
- Task runTask(CALLABLE task, ARGS args)
- Task runTask(TaskSettings settings, void delegate(ARGS) @(safe) task, ARGS args)
- Task runTask(TaskSettings settings, void delegate(ARGS) @(system) task, ARGS args)
@system
Task
runTask
(,void delegate @system task ,) - Task runTask(TaskSettings settings, CALLABLE task, ARGS args)
vibe core core
functionsmanifest constantspropertiesstructsvariables
Runs a new asynchronous task.
task will be called synchronously from within the vibeRunTask call. It will continue to run until vibeYield() or any of the I/O or wait functions is called.
Note that the maximum size of all args must not exceed maxTaskParameterSize.