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

Copy Markdown

An app-scoped subscription to exact domain-event names.

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.EventSubscription{
  agent: String.t() | ArchAstro.SDK.Unset.t(),
  available_count: integer(),
  created_at: DateTime.t(),
  dropped_events_total: integer(),
  dropped_through_position: integer(),
  event_names: [String.t()],
  id: String.t(),
  last_overflow_at: DateTime.t() | ArchAstro.SDK.Unset.t(),
  leased_count: integer(),
  max_pending_events: integer(),
  name: String.t(),
  org: String.t() | ArchAstro.SDK.Unset.t(),
  queue_epoch: integer(),
  retention_seconds: integer(),
  sandbox: String.t() | ArchAstro.SDK.Unset.t(),
  status: String.t(),
  team: String.t() | ArchAstro.SDK.Unset.t(),
  updated_at: DateTime.t(),
  user: String.t() | ArchAstro.SDK.Unset.t(),
  visibility_timeout_seconds: 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()