-
Notifications
You must be signed in to change notification settings - Fork 1
Async Event Handlers
Daniel Little edited this page Oct 16, 2016
·
1 revision
Multiple Active Result Sets (Does this even work with inserts and updated) or capture all work and do it all at once at the end.
When domain events are raised they are all sent asynchronously to all event handlers.
If more than one of these handlers does work to update a database then updates may fail.
We recommend capturing all desired updates and performing them all as a batch at the end of the Request or Unit of Work.