Work.run

Undocumented in source. Be warned that the author may not have intended to support it.
  1. Promise!void run(void delegate() work)
  2. Promise!T run(T delegate() cb)
    class Work
    nothrow
    run
    (
    T
    )
    (
    T delegate
    ()
    cb
    )
    if (
    is(Promisify!T == Promise!T) &&
    !is(T == void)
    )

Meta