Can actors read messages under a certain condition?
问题 I have this situation: ActorA sends ActorB start/stop messages every 30-40 seconds ActorA sends ActorB strings to print (always) ActorB must print the strings he receive, but only if ActorA sent just a start message Now i wonder if i can do the following things: Can ActorB read messages only under a certain condition (if a boolean is set as true) without losing the messages he receives while that boolean is set as false? Can ActorB read a start/stop message from ActorA before the other string