0
kicks
Refactoring Udi Dahan's domain event code
What I’ve done here is show my refactored version of the code and explain why I think it is better. What I’m going to be doing is utilising the strategy pattern to separate the logic of dispatching events from the action of requesting an event to be dispatched.