kvasir_projector v0.0.8 Kvasir.Projection View Source

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Kvasir.Projection{
  on_error: atom() | (... -> any()),
  report: (... -> any()) | nil,
  retry: Keyword.t()
}

Link to this section Functions

Link to this function apply(projection, event, state, instance) View Source
apply(module(), Kvasir.Event.t(), state :: term(), t()) ::
  :ok | {:ok, state :: term()} | :delete | {:error, atom()}
Link to this function handle_error(err, ctx, callback) View Source
Link to this function report_error!(ctx, callback) View Source