[−][src]Type Definition js_promises::PromiseResult
type PromiseResult<TOk, TErr> = Result<PromiseOk<TOk, TErr>, TErr>;
Return type for Promise.then
, which can be an immediate value to resolve to,
another promise to run, or an immediate value to reject.
Similar in usage to futures::Poll
.