Promise.resolve

Resolves promise and calles then onResolve callbacks

  1. void resolve()
  2. void resolve(T val)
    class Promise(T, E : Throwable = Exception)
    static if(!is(T == void))
    void
    resolve
    (
    T val
    )

Meta