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

Copy Markdown

A cursor-paginated non-reserving view of a subscription queue.

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.EventSubscriptionQueue{
  after_cursor: String.t() | ArchAstro.SDK.Unset.t(),
  before_cursor: String.t() | ArchAstro.SDK.Unset.t(),
  data: [ArchAstro.SDK.Types.EventSubscriptionQueueEntry.t()],
  dropped_events_total: integer(),
  dropped_through_position: integer(),
  has_more: boolean(),
  queue_epoch: 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()