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
Hello, first thank you for all your work on this, hopping this isn't a dumb question.
I'd like to know if a variable has any listeners, or dependent variable using its value, but can't find anything about it or in the variable object. Is there any relatively fast way to do this ?
The text was updated successfully, but these errors were encountered:
You should be able to just check the listeners property of the variable. It will be false if there are no listeners, otherwise it will have an array of listeners. Note this is only for "active" listeners, that is dependent variables that are actively receiving notification of changes. If another dependent variable is using this variable, but is not active (no listeners itself), then there is no reference to the dependent variable (because that would break garbage collection).
Hello, first thank you for all your work on this, hopping this isn't a dumb question.
I'd like to know if a variable has any listeners, or dependent variable using its value, but can't find anything about it or in the variable object. Is there any relatively fast way to do this ?
The text was updated successfully, but these errors were encountered: