-
Methods in io.reacted.patterns with parameters of type UnChecked.CheckedSupplier
| Modifier and Type |
Method |
Description |
<X extends java.lang.Throwable> Try<T> |
Try.recover(java.lang.Class<X> exception,
UnChecked.CheckedSupplier<Try<? extends T>> successProvider) |
Recover the status of a Try, if failed, a success Try is generated using the provided supplier
Will be returned the original Try if it is successful, otherwise the try returned by the
mapper
Different recover calls can be chains for fine exception handling
|
static <T> java.util.function.Supplier<T> |
UnChecked.supplier(UnChecked.CheckedSupplier<T> checkedSupplier) |
|