MessageStore.ProjectionBehaviour behaviour (message_store v3.1.0) 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, state)

View Source

Specs

handle_message(EventStore.RecordedEvent.t(), state) :: state when state: any()

A message handler

Specs

init() :: any()

The projection initial state.