ArchAstro.SDK.Types.EventSubscriptionDelivery (archastro v0.3.5)

Copy Markdown

A domain event leased from a subscription queue.

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.EventSubscriptionDelivery{
  delivery_id: String.t(),
  event: ArchAstro.SDK.Types.DomainEvent.t(),
  lease_expires_at: DateTime.t(),
  receipt_handle: String.t(),
  receive_count: integer(),
  sequence: integer()
}

Functions

from_map(data)

@spec from_map(ArchAstro.SDK.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.SDK.JSON.object()