Forum Discussion

EnTerr's avatar
EnTerr
Roku Guru
9 years ago

RSG.unobserveField() - "nuclear option" or not?

I am confused by this text:
"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.