Kactoos

kactoos-jvm / nnl.rocks.kactoos.scalar / ScalarWithFallback / <init>

<init>

ScalarWithFallback(origin: KScalar<T>, fallbacks: Iterable<FallbackFrom<T>>, follow: KFunc<T, T>)

Scalar with a fallback plan.

There is no thread-safety guarantee.

Parameters

T - Type of result

origin - Original scalar

fallbacks - Fallbacks

follow - Follow up function

Since 0.4