[Pharo-project] is there a way to know whether an object is registered to an announcer?

Igor Stasenko siguctua at gmail.com
Sun Apr 24 11:54:20 CEST 2011


On 24 April 2011 12:08, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
> of course if the method would have been commented like that I would not have asked.
> So I'm doing a pass on the class now and adding comments :(
>
> unsubscribe: anObject
>        "Unsubscribe all occurrences of the subscriber anObject"
>
"Unsubscribe all subscriptions of anObject from receiver"

>        registry removeSubscriber: anObject
>
>
>
Hmm.. isn't that was obvious?

I mean, what behavior you found less surprising? Removing single
subscription per call? Which one? In what order?


-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Pharo-project mailing list