mapSuspend

fun <T, R> Flow<T>.mapSuspend(transform: suspend (T) -> R): Flow<R>

Maps the flow elements using the given suspendable transformation function.