Module life.expert
Class ForComprehension.MonoFor5<T1,T2,T3,T4,T5>
- java.lang.Object
-
- life.expert.common.reactivestreams.ForComprehension.MonoFor5<T1,T2,T3,T4,T5>
-
- Type Parameters:
T1- the type parameterT2- the type parameterT3- the type parameterT4- the type parameterT5- the type parameter
- Enclosing class:
- ForComprehension
public static class ForComprehension.MonoFor5<T1,T2,T3,T4,T5> extends java.lang.ObjectFor-comprehension with 5 Monos.
-
-
Method Detail
-
yield
public <R> reactor.core.publisher.Mono<R> yield(io.vavr.Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
Yields a result for elements of the cross product of the underlying Monos.- Type Parameters:
R- type of the resultingMonoelements- Parameters:
f- a function that maps an element of the cross product to a result- Returns:
- an
Monoof mapped results
-
-