[Dev] Re: subscribe/monitor merge

Ted Leung twl at osafoundation.org
Thu Feb 17 16:50:15 PST 2005


On Feb 17, 2005, at 4:48 PM, Alec Flett wrote:

> 2. If we allow callbacks to be selected based on the views affected, 
> then do we want to allow different callbacks for each case?
>
>
>  Ted explained that what happens is that you have the same method 
> being used for both types of callbacks.
>  My take is that callers who want this distinction could do this:
>  q.subscribe(self, 'thisViewCallback', True, False)
>  q.subscribe(self, 'otherViewsCallback', False, True)
>
>  and that the majority of users would prefer the simple API

Ok, I think this will do the job nicely.

Ted



More information about the Dev mailing list