```coroutineScope { (1..30) .map { ...
# coroutines
v
Copy code
coroutineScope {
    (1..30)
        .map {
            async {
                print("offering $it...")
                queue.offer(it).await()
                println("offered $it")
            }
        }.awaitAll()
}
e
Nope. But you can easily extract this pattern into your own extension function.