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

toMono

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

Extension for transforming an CompletableFuture to a Mono.

Author
Sebastien Deleuze

Since
3.1