DEV Community

Cover image for Use Async / Await in SwiftUI

Use Async / Await in SwiftUI

Vadim Atamanenko on December 05, 2022

Convert your SwiftUI app to take advantage of Swift's new multithreading mechanism and see what's going on underneath the colorful shell. Softwar...
Collapse
 
sokol8 profile image
Kostiantyn Sokolinskyi

The article says that "In GCD, the basic unit of work is the thread."
Isn't it task on a queue, not thread, that is the basic unit of work?

I was always under impression that GCD was created to abstract NSThread and move work to tasks on queues away from using threads directly.