Parallelly zips the this result with the specified result discarding the
first element of the tuple or else returns the failed Cause[E1]
Sequentially zips the this result with the specified result discarding the
first element of the tuple or else returns the failed Cause[E1]
Parallelly zips the this result with the specified result discarding the
second element of the tuple or else returns the failed Cause[E1]
Parallelly zips the this result with the specified result or else returns
the failed Cause[E1]
Sequentially zips the this result with the specified result discarding the
second element of the tuple or else returns the failed Cause[E1]
Sequentially zips the this result with the specified result or else returns
the failed Cause[E1]
Replaces the success value with the one provided.
Returns an option of the cause of failure.
Flat maps over the value type.
Flat maps over the value type.
Flattens an Exit of an Exit into a single Exit value.
Folds over the value or cause.
Sequentially zips the this result with the specified result or else returns
the failed Cause[E1]
Applies the function f
to the successful result of the Exit
and returns
the result in a new Exit
.
Retrieves the A
if succeeded, or else returns the specified default A
.
Determines if the result is a failure.
Determines if the result is interrupted.
Determines if the result is a success.
Maps over the value type.
Maps over both the error and value type.
Maps over the error type.
Maps over the cause type.
Replaces the error value with the one provided.
Converts the Exit
to an Either[Throwable, A]
, by wrapping the cause in
FiberFailure
(if the result is failed).
Converts the Exit
to a ZIO
effect.
Discards the value.
Returns an untraced exit value.
Named alias for <*>
.
Named alias for <*
.
Named alias for <&>
.
Named alias for <&
.
Named alias for &>
.
Named alias for *>
.
Zips this together with the specified result using the combination functions.
Maps over both the error and value type.
Maps over both the error and value type.
(Since version 2.0.0) use mapBoth
Flat maps over the value type.
Flat maps over the value type.
(Since version 2.0.0) use flatMapZIO
Sequentially zips the this result with the specified result or else returns
the failed Cause[E1]
Sequentially zips the this result with the specified result or else returns
the failed Cause[E1]
(Since version 2.0.0) use foldZIO
Determines if the result is interrupted.
Determines if the result is interrupted.
(Since version 2.0.0) use isInterrupted
Determines if the result is a success.
Determines if the result is a success.
(Since version 2.0.0) use isSuccess
An
Exit[E, A]
describes the result of executing anIO
value. The result is either succeeded with a valueA
, or failed with aCause[E]
.