kactoos-jvm / nnl.rocks.kactoos.func / FuncWithFallback / <init>
FuncWithFallback(func:
Func
<
X
,
Y
>, fallback:
Func
<
Throwable
,
Y
>)
FuncWithFallback(func:
Func
<
X
,
Y
>, fallback:
Func
<
Throwable
,
Y
>, follow:
Func
<
Y
,
Y
>)
Func with a fallback plan.
There is no thread-safety guarantee.
X
- Type of input
Y
- Type of output
func
- The func
fallback
- The fallback
follow
- The follow up func
Since 0.2