envio v0.3.2 Envio.Backend behaviour View Source

The behaviour to be implemented for all the backends.

Link to this section Summary

Callbacks

The callback when the envio is received

Link to this section Callbacks

Link to this callback on_envio(message, meta) View Source
on_envio(message :: %{atom: term()}, meta :: %{atom: term()}) ::
  {:ok, term()} | {:error, term()}

The callback when the envio is received.