reactor-core / reactor.core.publisher / cast

cast

inline fun <reified T : Any> Flux<*>.cast(): Flux<T>

Extension for Flux.cast providing a cast<Foo>() variant.

Author
Sebastien Deleuze

Since
3.1

inline fun <reified T : Any> Mono<*>.cast(): Mono<T>

Extension for Mono.cast providing a cast<Foo>() variant.

Author
Sebastien

Since
3.1