Order of handleAsyncUpdate() after triggerAsyncUpdate() is called from various threads

Hello,
can I be sure that handleAsyncUpdate() overriden in various classes will be executed in the same order as order of calling triggerAsyncUpdate() from various thread?

I am not sure how to test it to have clear answer for that question.

For any help great thanks in advance.

Best Regards

I think the answer is no, because of the nature of threaded computing it’s very hard or impossible to determine when a given thread will begin or end under anything other than strict conditions. Moreover if you’re looking for precise timing AsyncUpdate and friends are not where you’re likely to find it.

Try the ValueTree::Listener class and its functions such as valueTreePropertyChanged() for when you need to have a knowable order of function calls.