How Sendable Can Help Prevent Data Races in iOS
A quick look at the Sendable protocol
Published in
5 min readOct 7, 2021
In my previous article, you learned that actors can help us prevent data races by ensuring mutual exclusion to its mutable states. This statement is true as long as we are accessing the mutable states within the actors. If the mutable states are accessible outside of the actors, a data race can still occur!