Swift, actor: Actor-isolated property ‘scanning’ can not be mutated from a non-isolated context
How can I use an actor to store/read state information correctly so the MyObj can use it to read and set state? You cannot mutate an actor’s instance variables from outside the actor. That is the whole point of actors! Instead, give the actor a method that sets its own instance variable. You will then … Read more