A Promise of a Result. The async counterpart of Result<T, E> — rejection is not used to signal failure; errors live in the resolved err branch instead.
Promise
Result<T, E>
err
A
Promiseof a Result. The async counterpart ofResult<T, E>— rejection is not used to signal failure; errors live in the resolvederrbranch instead.