Promise.then

Undocumented in source. Be warned that the author may not have intended to support it.
  1. Promise!void then(void delegate() onFulfillment, void delegate(Exception) onRejection)
    class Promise(T)
    override nothrow
    Promise!void
    then
    (
    void delegate
    ()
    onFulfillment
    ,
    void delegate
    (
    Exception
    )
    onRejection
    )
    if (
    !is(Unqual!T : Exception) &&
    !is(Unqual!T : Promise!K,
    K
    )
    )
  2. Promise!(Flatten!S) then(S delegate(T) onFulfillment, U delegate(Exception) onRejection)
  3. Promise!(Flatten!S) then(S delegate() onFulfillment, U delegate(Exception) onRejection)

Meta