Join Slack
Powered by
`urls.map { async { loadUrl(it) } }.map { it.await...
# 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
Open in Slack
Previous
Next