ArchAstro.Types.WorkflowJournalEntry (archastro v0.2.0)

Copy Markdown

One ordered, replayable record from a durable workflow journal.

Summary

Types

t()

@type t() :: %ArchAstro.Types.WorkflowJournalEntry{
  command_id: String.t() | ArchAstro.Unset.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  id: String.t(),
  node_id: String.t() | ArchAstro.Unset.t(),
  record: %{optional(String.t()) => ArchAstro.JSON.t()},
  sequence: integer(),
  timer_id: String.t() | ArchAstro.Unset.t(),
  type: String.t()
}

Functions

from_map(data)

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

matches?(value)

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

to_map(value)

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