Behaviour for rate-limit backends used by the messaging policy gate.
Summary
Callbacks
@callback check(map(), map()) :: :ok | {:defer, DateTime.t(), map()} | {:error, term()}
Behaviour for rate-limit backends used by the messaging policy gate.
@callback check(map(), map()) :: :ok | {:defer, DateTime.t(), map()} | {:error, term()}