Runic.Workflow.RunnableDispatched (Runic v0.1.0-alpha.7)

Copy Markdown View Source

Event recording that a runnable was dispatched for execution.

Captures the dispatch moment including the resolved policy (with non-serializable fields like fallback stripped) and the attempt number.

Summary

Types

t()

@type t() :: %Runic.Workflow.RunnableDispatched{
  attempt: non_neg_integer(),
  dispatched_at: integer(),
  input_fact: Runic.Workflow.Fact.t(),
  node_hash: non_neg_integer(),
  node_name: atom() | binary() | nil,
  policy: Runic.Workflow.SchedulerPolicy.t(),
  runnable_id: term()
}