asFlux

fun <T : Any> Flow<T>.asFlux(): Flux<T>

Converts the given flow to a cold flux. The original flow is cancelled when the flux subscriber is disposed.

This function is integrated with ReactorContext, see its documentation for additional details.