ParentFull threadmstudio·This does not work. setMyState() is asynchronous. doSomething() would run, but not necessarily with the updated value of the state.View on HN