I have that huge definition full of flags that trigger a refresh of some components by expiring them, or even recompute the whole definition.
But there’s lots of possible interactions that will send multiple “True” or “False” boolean triggers :
The result is a lot of unwanted refreshes which sometimes cause infinite loops, and I’m also worried that “False” boolean triggers also make come components recompute uselessly.
That’s why I’ve been looking for a way to filter those booleans as they are recieved to only send a trigger when the boolean switches from “True” to “False” or "False to “True” , which would produce something like this :
Only let data pass when it changes.gh (9.5 KB)
Honnest, I tried , but had to admit my brain is really raspberry Jello, and I wasn’t going to succeed.