Constructors
makefunction
Creates a new
RefResultfrom a Result,Effect, orFx.
Derived queries
Optional queries
getFailurevariable
Get the failure value from the Result as a Filtered (fails if Success).
getSuccessvariable
Get the success value from the Result as a Filtered (fails if Failure).
State models
RefResultinterface
A RefResult is a RefSubject specialized over a Result value.
State predicates
State updates
setFailurevariable
Set the current state of a RefResult to Failure(error).
setSuccessvariable
Set the current state of a RefResult to Success(value).