em Ciências da Computação • Android Leader na Resource IT Solutions • Open source <3 • Compartilhar conhecimento <3 GitHub: https://github.com/WellingtonCosta E-mail: [email protected]
is a cancellable thing with a life-cycle that culminates in its completion. It returns a Job instance. async: Deferred value is a non-blocking cancellable future. It’s a Job that has a result. It returns a Deferred instance.
the Main thread operating with UI objects. • Dispatchers.Default: A coroutine dispatcher to execute CPU-bound tasks. • Dispatchers.IO: A coroutine dispatcher that is designed for offloading blocking IO tasks to a shared pool of threads.