executeTask

Executes an asynchronous task. This is a wrapper around vibe.core.core.runTask.

  1. void executeTask(void delegate(ARGS) @(safe) task, ARGS args)
  2. void executeTask(void delegate(ARGS) @(system) task, ARGS args)
    @system
    static if(isWeb)
    void
    executeTask
    (
    ARGS...
    )
    (
    void delegate
    (
    ARGS
    )
    @system
    task
    ,
    auto ref ARGS args
    )
  3. void executeTask(CALLABLE task, ARGS args)

Parameters

task void delegate
(
ARGS
)
@system

The task to execute.

args ARGS

The arguments to pass to the task.

Meta