Sorry folks, something has got my curiosity going and it is kind of annoying.
I got STUNG today re-writing code from 8 years ago (or there about).
I was using a function
node as a gate, but with a bit more complicated.
(Maybe I can have a look at the mechanics of that and do it differently.... But anyway.)
What I would like to get is a changing status on a subflow so it blinks.
I'll explain better. BLINK - maybe a bad choice of words.
The subflow receives a message and does it's magic.
There is considerable time between the arrival of the message and the sending of the message.
When it receives a message, I want to set the status
to even just a dot
.
Then when it sends the message, it wipes itself clean.
This way I can see messages are arriving and being sent.
I could cheat and put a couple of function
nodes that do a node.status{()}
at the in and one on the output to wipe it.
But I've read/heard that is a LOT of overhead for such a simple thing.
I don't know.
Is there an alternative?
I could post the subflow, but I don't think that would really achieve much.
Thanks in advance.