Weddell v0.1.1-alpha.1 Weddell.Consumer behaviour View Source

Link to this section Summary

Types

Message handler response option

Option values used when connecting clients

Link to this section Types

Link to this type response_option() View Source
response_option() ::
  {:ack, [Weddell.Message.t()]}
  | {:delay, [Weddell.Client.Subscriber.Stream.message_delay()]}

Message handler response option

Link to this type response_options() View Source
response_options() :: [response_option()]

Option values used when connecting clients

Link to this section Callbacks

Link to this callback handle_messages(messages) View Source
handle_messages(messages :: [Weddell.Message.t()]) ::
  {:ok, response_options()} | :error