View Source MessageStore.ProjectionBehaviour behaviour (message_store v3.2.0)

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(t, state)

View Source
@callback handle_message(EventStore.RecordedEvent.t(), state) :: state when state: any()

A message handler

@callback init() :: any()

The projection initial state.