Classes
The following classes are available globally.
-
See moreResultPromiseis a minimalPromiseimplementation that wraps aResult<T, E>instance. It supports thefulfil,await,thenandthenAsynccombinators, facilitating a fluid sequencing of computations that produce either aResult(then) or aResultPromiseinstance (thenAsync). (Therejectcombinator is redundant, as failure is handled by the embeddedResult.)Declaration
Swift
public class ResultPromise<T, E> where E : Error
View on GitHub
Classes Reference