Skip to content
RED SAGSkills
hard20 pts · first answer countsswiftconcurrency

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