Cancelling event

Topics: CAB & Smart Client Software Factory
Feb 2, 2006 at 9:05 PM
originally posted by: WateryDan

I have an EventPublication that several EventSubscriber subscribes to. Is it possible to stop other EventSubscribers responding to that event as soon as it is been handled by any one of them?

Thanks...
Feb 3, 2006 at 7:17 AM
originally posted by: DLorenz

I don't think so. CAB wasn't designed to work that way. You can't depend on the order inside the EventBroker stuff. I think that when an event is published, CAB will simply call all the methods that have been marked as an EventSubscription for the given topic. There is no way to stop this process.