EventSourcingDB.ObserveFromLatestEventOptions (EventSourcingDB v1.0.1)

Copy Markdown View Source

Options for observing events starting from the latest event of a given type.

Summary

Types

t()

@type t() :: %EventSourcingDB.ObserveFromLatestEventOptions{
  if_event_is_missing: :read_everything | :wait_for_event,
  subject: String.t(),
  type: String.t()
}

Functions

new(options)

@spec new(keyword()) :: t()