View Source Eventize.EventSourcedProcess.EventApplyer behaviour (eventize v0.1.0)

A module that impliments event apply functionality for a Eventize.EventSourcedProcess.

Link to this section Summary

Link to this section Callbacks

Link to this callback

apply_event(term, term)

View Source (optional)
@callback apply_event(term(), term()) :: {term(), atom()} | term()
Link to this callback

apply_event(term, term, map)

View Source (optional)
@callback apply_event(term(), term(), map()) :: {term(), atom()} | term()
Link to this callback

apply_snapshot(term, term)

View Source (optional)
@callback apply_snapshot(term(), term()) :: {term(), atom()} | term()
Link to this callback

apply_snapshot(term, term, map)

View Source (optional)
@callback apply_snapshot(term(), term(), map()) :: {term(), atom()} | term()
Link to this callback

get_event_meta_data(term)

View Source (optional)
@callback get_event_meta_data(term()) :: map()
Link to this callback

get_snapshot_meta_data(term)

View Source (optional)
@callback get_snapshot_meta_data(term()) :: map()