Перейти к содержимому

SEQUENTIAL Background Tasks with Kotlin Coroutines (async and await)

CodingWithMitch

0:00 / 0:00

SEQUENTIAL Background Tasks with Kotlin Coroutines (async and await)

25 260 просмотров · 6 лет назад
CodingWithMitch
143 тыс. подписчиков
25 260 просмотров · 6 лет назад
SEQUENTIAL Background Tasks with Kotlin Coroutines (async and await) High quality android courses: https://codingwithmitch.com/courses/ In this video I take you through an example of how to execute work on a background thread sequentially with kotlin coroutines and the async and await pattern. Async and await is great when you need access to a background task result within the coroutine. Using the more classic job launcher pattern requires much more code. Async and await is definitely the better choice if you need access to a result inside the parent coroutine. Source code: http://bit.ly/2MqDLSf Instagram:   / codingwithmitch   Twitter:   / mitch_tabian   . . .