Join Slack
Powered by
`launch`: fire and forget `async`: wait for someth...
# coroutines
p
pardom
03/19/2019, 5:49 PM
`launch`: fire and forget `async`: wait for something
b
basher
03/19/2019, 5:51 PM
launch returns a
Job
though, which you can join 😬
p
pardom
03/19/2019, 5:51 PM
Right, but it never returns anything, whereas
async
does.
pardom
03/19/2019, 5:52 PM
https://stackoverflow.com/questions/46226518/what-is-the-difference-between-launch-join-and-async-await-in-kotlin-coroutines
pardom
03/19/2019, 5:52 PM
From the man himself.
b
basher
03/19/2019, 5:53 PM
useful thanks!
p
pardom
03/19/2019, 5:53 PM
👍
6
Views
Open in Slack
Previous
Next