Concurrency
GCD vs OperationQueue
You're building an image pipeline: download, resize, then save to the disk cache, and when the user scrolls you need to cancel work in progress. Would you pick GCD or OperationQueue?
GCD vs OperationQueue
You're building an image pipeline: download, resize, then save to the disk cache, and when the user scrolls you need to cancel work in progress. Would you pick GCD or OperationQueue?
ConcurrencyMultiple choiceIntro
Which of the following are appropriate ways to run work in the background (concurrency) o…
#operationqueue #gcd
ConcurrencyShort answerIntro
What is GCD (Grand Central Dispatch), and why do you hand work to a queue instead of crea…
#gcd
ConcurrencyMultiple choiceBasics
In this cache built on a GCD concurrent queue, which statement about the role of the .bar…
#gcd
ConcurrencyShort answerBasics
In Swift Concurrency, when you create a Task { }, when and where does that code run?
#cancellation