Transactional digest accumulation for held canonical delivery rows.
Summary
Functions
Accumulates a digest-held delivery into a durable bucket and membership row.
Types
@type lookup_attrs() :: %{ optional(:recipient_id) => String.t() | nil, optional(:channel) => String.t() | nil, optional(:notification_key) => String.t() | nil, optional(:notification_version) => pos_integer() | nil, optional(:category) => String.t() | nil, optional(:digest_key) => String.t() | nil }
Functions
@spec accumulate_delivery( Chimeway.Delivery.t(), keyword() ) :: {:ok, Chimeway.Digests.DigestBucket.t() | :noop} | {:error, term()}
Accumulates a digest-held delivery into a durable bucket and membership row.