Skip to content
RED SAG Skills
hardStudy question · answer published in System Design interview questions, so no pointsswiftconcurrency

Passing a class into a Task

In Swift 6 language mode, sending a mutable non-Sendable class instance from the main actor into a detached Task gives an error. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions