fun <T : Any> Flux<*>.cast(): Flux<T>
Extension for Flux.cast providing a fun <T : Any> Mono<*>.cast(): Mono<T>
Extension for Mono.cast providing a |
|
fun <T, E : Throwable> Flux<T>.doOnError(exceptionType: KClass<E>, onError: (E) -> Unit): Flux<T>
Extension for Flux.doOnError providing a KClass based variant. fun <T, E : Throwable> Mono<T>.doOnError(exceptionType: KClass<E>, onError: (E) -> Unit): Mono<T>
Extension for Mono.doOnError providing a KClass based variant. |
|
fun <T : Any> Flux<*>.ofType(): Flux<T>
Extension for Flux.ofType providing a fun <T : Any> Mono<*>.ofType(): Mono<T>
Extension for Mono.ofType providing a |
|
fun <T, E : Throwable> Flux<T>.onErrorMap(exceptionType: KClass<E>, mapper: (E) -> Throwable): Flux<T>
Extension for Flux.onErrorMap providing a KClass based variant. fun <T, E : Throwable> Mono<T>.onErrorMap(exceptionType: KClass<E>, mapper: (E) -> Throwable): Mono<T>
Extension for Mono.onErrorMap providing a KClass based variant. |
|
fun <T : Any, E : Throwable> Flux<T>.onErrorResume(exceptionType: KClass<E>, fallback: (E) -> Publisher<T>): Flux<T>
Extension for Flux.onErrorResume providing a KClass based variant. fun <T : Any, E : Throwable> Mono<T>.onErrorResume(exceptionType: KClass<E>, fallback: (E) -> Mono<T>): Mono<T>
Extension for Mono.onErrorResume providing a KClass based variant. |
|
fun <T : Any, E : Throwable> Flux<T>.onErrorReturn(exceptionType: KClass<E>, value: T): Flux<T>
Extension for Flux.onErrorReturn providing a KClass based variant. fun <T : Any, E : Throwable> Mono<T>.onErrorReturn(exceptionType: KClass<E>, value: T): Mono<T>
Extension for Mono.onErrorReturn providing a KClass based variant. |
|
fun <T : Any> Flux<out Iterable<T>>.split(): Flux<T>
|
|
fun <T : Any> T.toMono(): Mono<T>
Extension for transforming an object to a Mono. |
|
fun whenComplete(vararg sources: Publisher<Void>): Mono<Void>
Aggregates the given void Publishers into a new void Mono.
An alias for a corresponding Mono.when to avoid use of |
|
fun <R> zip(vararg monos: Mono<*>, combinator: (Array<*>) -> R): Mono<R>
|