Orchid.WorkflowCtx (Orchid v0.6.1)

Copy Markdown View Source

Represents the context of a workflow execution, including its configuration, path, and baggage.

Summary

Types

t()

@type t() :: %Orchid.WorkflowCtx{
  baggage: %{},
  config: %{},
  path: [Orchid.Step.ID.t()],
  root_id: any()
}

Functions

add_depth(ctx, step_id)

get_baggage(ctx, key, default \\ nil)

get_config(ctx, key, default \\ nil)

merge_baggage(ctx, baggage)

merge_config(ctx, new_opts)

new()