Ordered concurrent downloads
You're given an array of image ids [3, 1, 2]. Download each image concurrently, but display them on screen in id order (1, 2, 3). How would you do that with Swift Concurrency?
Ordered concurrent downloads
You're given an array of image ids [3, 1, 2]. Download each image concurrently, but display them on screen in id order (1, 2, 3). How would you do that with Swift Concurrency?
ConcurrencyMultiple choiceAdvanced
Which of the following statements about structured concurrency (async let, TaskGroup) are…
#taskgroup #structured-concurrency #cancellation
ConcurrencyShort answerBasics
When the search query changes, the previous search's network, decoding, and image work al…
#structured-concurrency #cancellation
ConcurrencyShort answerBasics
You're building an image pipeline: download, resize, then save to the disk cache, and whe…
#cancellation
ConcurrencyShort answerBasics
When a screen appears you call three APIs in parallel, profile, feed, and notifications, …
#taskgroup