https://kotlinlang.org logo
#coroutines
Title
# coroutines
j

jw

01/04/2019, 4:20 PM
urls.map { async { loadUrl(it) } }.map { it.await() }
or I think there's
awaitAll()
now
s

samir

01/04/2019, 4:23 PM
Awesome, exactly what I was looking for and awaitAll() works. Thanks 🙂
2 Views