Hi @aviator22!
You can try setting the initial value of your temporary state value which will make it more immediately accessible.

As to the expected behavior - this question was brought up by @bradlymathews here. To summarize: ts.setValue returns a promise which you can await and then reference the new value with ts.value if you go to the 'Advanced' tab of your query and select this option:
Let me know if this works out for you!
