Lexdee.ObservationHandler behaviour (lexdee v2.6.4)

Link to this section Summary

Link to this section Types

Link to this type

error_reason()

Specs

error_reason() :: binary() | atom()

Link to this section Callbacks

Link to this callback

handle_event(observation)

Specs

handle_event(observation :: Lexdee.Observation.t()) ::
  {:ok, term()} | :ok | {:error, error_reason()} | :error