Skip to content

Projection

Duncan Jones edited this page May 21, 2019 · 4 revisions

Projection

A projection is a piece of code that runs over the event stream for an entity in order to derive some state information about that entity.

For each event in the stream it needs to decide (a) am I interested in this kind of event and if so (b) what do I do with it.

Example

Clone this wiki locally