Promise.resolved

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

Meta