asPublisher

fun <T : Any> Flow<T>.asPublisher(): Publisher<T>

Transforms the given flow to a reactive specification compliant Publisher.

This function is integrated with ReactorContext from kotlinx-coroutines-reactor module, see its documentation for additional details.