message_store v0.4.1 MessageStore.ProjectionBehaviour behaviour View Source

Projection behaviour.

Link to this section Summary

Callbacks

A message handler

The projection initial state.

Link to this section Callbacks

Link to this callback

handle_message(arg1, map)

View Source

Specs

handle_message(EventStore.RecordedEvent.t(), map()) :: map()

A message handler

Specs

init() :: map()

The projection initial state.