AuroraMeter.Events.Outbox.Noop (Aurora Meter v1.0.0)

View Source

The default AuroraMeter.Events.Outbox: it does nothing, successfully.

Core ships no delivery, so this is what a host that has not configured one gets. Recording still works, the events and their totals are still durable, and nothing is staged for export.

Summary

Functions

Ignores every item and returns :ok.

Functions

enqueue(items, context)

Ignores every item and returns :ok.

Examples

iex> AuroraMeter.Events.Outbox.Noop.enqueue([], %{repo: nil, timeout: 1000})
:ok