Loop.work

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

Meta