On 23 April 2011 13:58, Stéphane Ducasse <[email protected]> wrote: > hi guys > > > is there a way to know whether an object is registered to an announcer? > > I propose > > isRegistering: anObject > > registry subscriptionsOf: anObject do: [:each | ^ true]. > ^ false > >
then more appropriate would be #hasSubscriber: May i ask why you need to test it? Usually you don't need to test who subscribed to what. And if you do, then i suspect there are some design mistake. -- Best regards, Igor Stasenko AKA sig.
