EnTerr
9 years agoRoku Guru
RSG.unobserveField() - "nuclear option" or not?
I am confused by this text:
Does this mean that calling node.unobserveField("fieldName") will remove from node.fieldName any and all observer "contracts" by any and all components/threads (hence "nuke" them) - or does this apply only to the observers from the current context?
As a reminder, multiple components/threads may have registered observer functions/ports over the same field.
"ifSGNodeField" wrote:
unobserveField(name as String)
Removes the previously established connections between the subject node field identified by name and any callback functions or message ports.
Does this mean that calling node.unobserveField("fieldName") will remove from node.fieldName any and all observer "contracts" by any and all components/threads (hence "nuke" them) - or does this apply only to the observers from the current context?
As a reminder, multiple components/threads may have registered observer functions/ports over the same field.