View Source Kvasir.Storage.Freezer.Hooks behaviour (kvasir v0.0.18)

Link to this section Summary

Link to this section Callbacks

Link to this callback

post(storage, topic, event)

View Source
@callback post(storage :: atom(), topic :: Kvasir.Topic.t(), event :: Kvasir.Event.t()) ::
  :ok | {:error, atom()}
Link to this callback

pre(storage, topic, event)

View Source
@callback pre(storage :: atom(), topic :: Kvasir.Topic.t(), event :: Kvasir.Event.t()) ::
  :ok | {:error, atom()}