reactor-kotlin-extensions / reactor.kotlin.core.publisher / kotlin.Function0

Extensions for kotlin.Function0

toMono

Extension to convert any Supplier of T to a Mono that emits supplied element.

fun <T> (() -> T?).toMono(): Mono<T>