jeudi 23 mai 2019

How to modify Event in EventBus Design Pattern in java

I have a series of EventHandler which listens to the Events published by the EventBus. Now I have a usecase where I have to modify the event in one of the EventHandler and other consecutive handlers in the list may/may not get triggered on the basis of the modified event.

Are there better ways of doing Event Handling or design Patter which can be used for Event Handling.

Aucun commentaire:

Enregistrer un commentaire