Private _promiseAttaches callbacks for the resolution and/or rejection of the Promise.
Optional successCallback: ((res: neverthrow.Result<T, E>) => A | PromiseLike<A>)The callback to execute when the Promise is resolved.
Optional failureCallback: ((reason: unknown) => B | PromiseLike<B>)The callback to execute when the Promise is rejected.
A Promise for the completion of which ever callback is executed.
Static combineStatic combineStatic fromStatic fromStatic fromRest ...args: A
Emulates Rust's
?operator insafeTry's body. See alsosafeTry.