how do I fix this function to use the coroutine sc...
# coroutines
d
how do I fix this function to use the coroutine scope of the calling method?
Copy code
suspend inline fun <T, R> Iterable<T>.mapAsync(
    crossinline transform: suspend (T) -> R
) = map { async { transform(it) } }.map { it.await() }