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

Reply via email to