Package reactor.kotlin.core.publisher
Class MonoWhenFunctionsKt
-
- All Implemented Interfaces:
public final class MonoWhenFunctionsKt
-
-
Method Summary
Modifier and Type Method Description final static Mono<Void>whenComplete(Iterable<Publisher<?>> $self)Aggregates this Iterable of void Publishers into a new Mono. final static Mono<Void>whenComplete(Publisher<?> sources)Aggregates the given void Publishers into a new void Mono. final static <T extends Any, R extends Any> Mono<R>zip(Iterable<Mono<T>> $self, Function1<List<T>, R> combinator)Merges this Iterable of Monos into a new Mono by combining them with combinator. final static <R extends Any> Mono<R>zip(Mono<?> monos, Function1<Array<?>, R> combinator)Aggregates the given Monos into a new Mono. -
-
Method Detail
-
whenComplete
final static Mono<Void> whenComplete(Iterable<Publisher<?>> $self)
Aggregates this Iterable of void Publishers into a new Mono. An alias for a corresponding Mono.when to avoid use of
when, which is a keyword in Kotlin.TODO Move to MonoExtensions.kt in next major version
- Since:
3.1
-
whenComplete
final static Mono<Void> whenComplete(Publisher<?> sources)
Aggregates the given void Publishers into a new void Mono. An alias for a corresponding Mono.when to avoid use of
when, which is a keyword in Kotlin.- Since:
3.1
-
zip
final static <T extends Any, R extends Any> Mono<R> zip(Iterable<Mono<T>> $self, Function1<List<T>, R> combinator)
Merges this Iterable of Monos into a new Mono by combining them with combinator.
TODO Move to MonoExtensions.kt in next major version
- Since:
3.1
-
-
-
-