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)
  3. void executeTask(CALLABLE task, ARGS args)
    static if(isWeb)
    void
    executeTask
    (
    CALLABLE
    ARGS...
    )
    (
    CALLABLE task
    ,
    auto ref ARGS args
    )
    if (
    !is(CALLABLE : void delegate
    (
    ARGS
    )
    ) &&
    is(typeof(CALLABLE.init(ARGS.init)))
    )

Parameters

task CALLABLE

The task to execute.

args ARGS

The arguments to pass to the task.

Meta