Class MonoWhenFunctionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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

      • zip

         final static <R extends Any> Mono<R> zip(Mono<?> monos, Function1<Array<?>, R> combinator)

        Aggregates the given Monos into a new Mono.

        Since:

        3.1