ABSmartly.ContextPublisher behaviour (ABSmartly v1.0.0)

Copy Markdown View Source

Behaviour for publishing context events to the ABSmartly collector.

Summary

Callbacks

publish(endpoint, api_key, application, environment, event_map, retries)

@callback publish(
  endpoint :: String.t(),
  api_key :: String.t(),
  application :: String.t(),
  environment :: String.t(),
  event_map :: map(),
  retries :: non_neg_integer()
) :: :ok | {:error, term()}