reactor-core / reactor.core.publisher / java.util.concurrent.CompletableFuture / toMono

toMono

fun <T> CompletableFuture<out T?>.toMono(): Mono<T>

Extension for transforming an CompletableFuture to a Mono.

Author
Sebastien Deleuze

Since
3.1