Intermediate
Kotlin
Q44 / 100
What is the difference between launch and async coroutine builders?
Correct! Well done.
Incorrect.
The correct answer is B) launch fires-and-forgets returning a Job; async returns a Deferred<T> that can be awaited
B
Correct Answer
launch fires-and-forgets returning a Job; async returns a Deferred<T> that can be awaited
Explanation
launch is for fire-and-forget coroutines. async is for coroutines that produce a result accessed via Deferred.await().
Progress
44/100