ArchAstro. Types. WorkflowWorkItem
(archastro v0.2.0)
Copy Markdown
Externally executable work yielded by a durable workflow.
Summary
Types
@type t() :: %ArchAstro.Types.WorkflowWorkItem{ agent: String.t(), attempt_count: integer(), command_id: String.t(), created_at: DateTime.t(), execution: String.t(), id: String.t(), lease_expires_at: DateTime.t() | ArchAstro.Unset.t(), node_id: String.t(), payload: %{optional(String.t()) => ArchAstro.JSON.t()}, routine_run: String.t() | ArchAstro.Unset.t(), status: String.t(), type: String.t(), updated_at: DateTime.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()