Promise.resolved

Undocumented in source. Be warned that the author may not have intended to support it.
  1. Promise!T resolved()
  2. Promise!T resolved(T t)
    interface Promise(T_)
    static nothrow
    static if(!(is(T == void)))
    resolved
    ()

Meta