envato / event_sourcery

A library for building event sourced applications in Ruby
MIT License
84 stars 10 forks source link

Alternative aggregate interface - process_new_events block #122

Closed stevehodgkiss closed 7 years ago

stevehodgkiss commented 7 years ago

Following on from the discussion in https://github.com/envato/event_sourcery/pull/121

This is a proposed alternative to the #changes and #clear_changes interface that was discussed in the above PR. I'm not proposing this myself, I prefer the interface in the original PR.