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

Copy Markdown View Source

Event recording that a runnable completed execution successfully.

Fields:

  • duration_ms — wall-clock execution time in milliseconds (monotonic)
  • attempt — zero-based attempt index (0 = first try, 1 = first retry, etc.)
  • result_fact — the %Fact{} produced by the step

Summary

Types

t()

@type t() :: %Runic.Workflow.RunnableCompleted{
  attempt: non_neg_integer(),
  completed_at: integer(),
  duration_ms: non_neg_integer(),
  node_hash: non_neg_integer(),
  result_fact: Runic.Workflow.Fact.t(),
  runnable_id: term()
}