Is there an unsubscribeToChanges?

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
Forum rules
This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
Perry The Cynic
Posts: 857
Joined: Mon Apr 07, 2008 9:46 pm

Is there an unsubscribeToChanges?

Post by Perry The Cynic »

Is there a way to undo the effect of an earlier subscribeToChanges call?

I'm putting a layer on top of subscribeToChanges, so each object can specify which other objects it wants to observe. So eventually that layer may find that nobody in my plugin wants to know anything about anyone else from another plugin anymore. It's not a functional problem - I can just drop all the incoming notifications - but it's inefficient. (As well as conducive to producing interesting race conditions...)

Cheers
-- perry
User avatar
matt (support)
Site Admin
Posts: 21542
Joined: Mon Jan 27, 2003 1:17 pm
Location: Texas
Contact:

Re: Is there an unsubscribeToChanges?

Post by matt (support) »

Nope, once you tell the server you are interested there is no way (short of a plugin reload) to stop getting those broadcasts. We'll add it to the list. ;-)
Image
Locked

Return to “Extending Indigo with Plugins and Python”