You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could use an event blocking decorator everywhere we make bidirectional events.
It can just scan for every sub graphic and the every feature within a graphic. It could also take str args to specify specific graphics for which events should be blocked.
I wonder if there could be a automatic way to do this, when feature events are being called check that the event being called doesn't have the current feature
One idea to stop callbacks is that when a event is received by an object, it will see if the current value is actually different from the received value. If it's the same, then stop the graph.
Activity
kushalkolar commentedon Oct 27, 2023
I wonder if there could be a automatic way to do this, when feature events are being called check that the event being called doesn't have the current feature
kushalkolar commentedon Oct 27, 2023
Ivo suggested looking into observ
kushalkolar commentedon Nov 24, 2023
One idea to stop callbacks is that when a event is received by an object, it will see if the current value is actually different from the received value. If it's the same, then stop the graph.
[-]Event blocking decorator [/-][+]Event blocking[/+]