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

Extensions for kotlin.Function0

toMono

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

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