pagantis_elixir_tools v0.13.0 ElixirTools.Events.Publisher behaviour

The Publisher defines the behaviour to be implemented on adapter that implement the publishing logic to AWS, RabbitMQ or any other publishing method.

Link to this section Summary

Callbacks

The publish method publishes an event to an adapter.

Link to this section Callbacks

Link to this callback

publish(message, opts)

publish(message :: map(), opts :: []) :: :ok | {:error, term()}

The publish method publishes an event to an adapter.