Slide 8
Slide 8 text
Prevents the callback hell
problem
Easily maintainable &
scalable
Gives you more control of
how you handle jobs
Less resource intensive than
JVM threads (2mb)
Why Coroutines ?
sendRequest(
onSuccess = {
sendAnotherRequest(
onSuccess = {...},
onFailure = {...},
)
},
onFailure = {...}
)