Concurrency
Sendable conformance
Under Swift 6 strict concurrency, which of the following are treated as Sendable (or adopt it automatically) with no extra work? Select all that apply.
Pick all that apply
Sendable conformance
Under Swift 6 strict concurrency, which of the following are treated as Sendable (or adopt it automatically) with no extra work? Select all that apply.
Pick all that apply
ConcurrencyShort answerExpert
The take-home app you submitted has a singleton ImageCache created with static let shared…
#sendable #strict-concurrency #actor
ConcurrencyShort answerAdvanced
You've been asked to move a large app written with completion handlers and GCD to Swift 6…
#swift-6 #strict-concurrency
TestingShort answerExpert
How do you reproduce or detect a data race in concurrent code that uses actors and Tasks?
#sendable #actor
ConcurrencyShort answerBasics
This code gets called from several threads, and count comes out lower than expected. Can …
#actor