Snippets tagged event sourcing

An example of using an actor (MailboxProcessor) to coordinate the projection of events from an event stream into a persisted projection. This example covers handling simple concurrency conflicts via also persisting and checking the latest event ID with with projection.
The update command will take the current projection and apply all new events before persisting it back.
The rebuild command will ignore an existing projection and replay all events in the stream.