> On Aug 29, 2016, at 10:37 PM, Denis Kudriashov <[email protected]> wrote:
> 
> 
> 2016-08-29 21:50 GMT+02:00 Yuriy Tymchuk <[email protected]>:
> > For 1., the only reason I can think of is to prevent the user to register 
> > twice the same object by mistake. I think this is an optimization that 
> > should be the responsibility of the user.
> 
> Alternatively we may use OrderedCollection and just check if it includes the 
> subscription before adding. I think that more events are fired than clients 
> are subscribed per a period of time
> 
> 
> It looks quite safe to not check anything because subscription items are 
> instances of AnnouncementSubscription which are created internally inside 
> Announcer during subscription

+1

Doru



--
www.tudorgirba.com
www.feenk.com

"Presenting is storytelling."


Reply via email to