Echo

Dispatches notifications using configurable adapters

Summary

Functions

Merges the application config with the default configuration options specified by Echo

Notify calls dispatch/2 on each registered adapter, which checks preferences then sends notification

Functions

config()

Specs

config :: Map.t

Merges the application config with the default configuration options specified by Echo.

notify(event_type, data)

Specs

notify(term | String.t, Map.t) :: List.t | nil

Notify calls dispatch/2 on each registered adapter, which checks preferences then sends notification.

A List of tuples is returned of the form {:ok, MODULE} or {:error, MODULE, term | String.t} indicating the status of each call.