View Source Kvasir.Command.Dispatcher behaviour (kvasir_agent v0.0.18)

Link to this section Summary

Link to this section Callbacks

@callback dispatch(Kvasir.Command.t(), Keyword.t()) ::
  {:ok, Kvasir.Command.t()} | {:error, atom()} | {:error, atom(), term()}
@callback do_dispatch(Kvasir.Command.t()) ::
  {:ok, Kvasir.Command.t()} | {:error, atom()} | {:error, atom(), term()}

Link to this section Functions

Link to this function

dispatch(dispatcher, command, opts \\ [])

View Source