Is `listOf(…).map { async { someNio() } }.awaitAl...
# announcements
c
Is
listOf(…).map { async { someNio() } }.awaitAll()
discouraged for any reason? I came across the “worker pool” pattern.
l
#C1CFAFJSK You need to have a local
coroutineScope { … }
surrounding the
async { … }
blocks to ensure structured concurrency is not broken and gives you proper cancellation support.