There are repeated questions about controlling the execution order of function executions for params. E.g., @param.depends update order and
Sequence of events when using Param watchers
Is there currently any official way of doing so?
As for me, I went a bit overboard and used ChatGPT to design and implement a State Machine…
The code is young and likely buggy (I am still playing with it!),
but can be found at
if anybody is interested.