[progress Communities] [progress Openedge Abl] Forum Post: Re: Release All Event Subscriptions

  • Thread starter Thread starter Lieven De Foor
  • Start date Start date
Status
Not open for further replies.
L

Lieven De Foor

Guest
Adding code at the handler side isn't ideal (you can't force that). The only workaround I see is not use events or make them private, and use an observer pattern. Since you somehow need to keep track of all observers, you can also release them at will... A welcome addition to the language could be an UnsubscribeAll() method on the event...

Continue reading...
 
Status
Not open for further replies.
Back
Top