I have a change node which sets a global variable, the message then goes on to a function which reads that variable. It seems that the message gets to the function before the variable is set. i.e. the new value isn't there when I read it. If I add a 1sec delay node in between then all is fine.
Does this seem like expected behaviour ?
Running on a pi4 what might be a more realistic minimum time to allow before passing on the message to the function node ?