Bart Peereboom
06/15/2026, 3:54 PMTgo1014
06/16/2026, 7:45 AMBart Peereboom
06/16/2026, 7:58 AMactionscope.setstate is basically just a disguised stateflow.update, which (as far as i know) should be safe for concurrent executions
One of the things I do think would be an issue is having stale data, f.e calling scope.currentState, then executing code after which you update using scope.setState { state.copy() }
Then again, just saw your message and havent tested it personally, but i believe it should be fine?Ryan Payne
06/17/2026, 2:00 AMBart Peereboom
06/17/2026, 7:55 AMleodeleon
06/17/2026, 7:11 PM