hallgren/eventsourcing

Get events by global version

hallgren opened this issue · 1 comments

Expose possibility to retrieve events based on there global version.

Makes it possible to build read models async from when the events are written.

// Where the start is the event at the global position and the count is how many events that should be fetched.
// This should include the event at the start position and events written afterwards.
GlobalEvents(start uint64, count int) ([]Events, error)

More about this in Jim Webber's talk link