resolve

Returns a new Promise which is resolved with the given value.

  1. Promise!void resolve()
  2. Promise!T resolve(T value)
    resolve
    (
    T
    E = Exception
    )
    ()

Meta