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"

        registry removeSubscriber: anObject





On Apr 24, 2011, at 11:02 AM, Denis Kudriashov wrote:

> Why #unregister: is not enough?
> 
> 2011/4/24 Stéphane Ducasse <[email protected]>
> Yes
> 
> Now is there a way that we could make sure that an object is really 
> unregistered?
> I would write
> 
>        [ann hasSubscriber: anObject] whileTrue: [an unregister: anObject]
> in the client code
> but having
> 
> fullyUnregister: anObject
> 
> is good to have in special case.
> 
> Stef
> 
> 
> > Okay. But i would discourage from using such methods :)
> >
> >> Stef
> >>
> >>>
> >>>
> >>> --
> >>> Best regards,
> >>> Igor Stasenko AKA sig.
> >>>
> >>
> >>
> >>
> >
> >
> >
> > --
> > Best regards,
> > Igor Stasenko AKA sig.
> >
> 
> 
> 


Reply via email to