#Async exit / Run async task when exit

2 messages · Page 1 of 1 (latest)

stuck sparrow
#

Hello!
I want to perform some async operation over State values, e.g. save state.
I can create a new thread, but most of the time, first thread will do nothing.
Do you have any ideas?

stuck sparrow
#

Solve it by using run_iteration
Other possible solution (not checked): Freeze runtime and perform async work in other thread at run function (on ExitRequested event)