@mattiem@rhysmorgan Ah, of course - when the task starts on the MainActor, then the MainActor is returned to for the mutation. That makes sense, thanks.
@rhysmorgan@mattiem Hi Rhys,
Thank you for sharing. This is a real eye opener.
Can you elaborate on how this is working?
Why is there no race condition when mutating the person from a concurrent task?
Sincerely,
Morten
@mattpat@wholesome.computer I needed to hear that! Thank you! Was so worried that it was not getting any attention.
I love Swift Playgrounds - and it’s a perfect tool for teaching my daughter to code.