Modifying non-sendable class in Task with Swift Approachable Concurrency and Swift 6

Would you mind sharing how? I can‘t seem to think of a scenario where your code races.