handleCaption function

Last updated: 2026-03-05T20:45:07.036Z

Metrics

LOC: 7 Complexity: 2 Params: 1

Signature

handleCaption(step: FlowStep): : Promise<StepResult>

Source Code

async function handleCaption(step: FlowStep): Promise<StepResult> {
  if (!step.caption) {
    return { status: "skipped", reason: "Caption step missing caption config" };
  }
  await showCaption(step.caption);
  return { status: "success" };
}

No outgoing dependencies.

Impact (Incoming)

graph LR handleCaption["handleCaption"] executeStep["executeStep"] executeStep -->|calls| handleCaption style handleCaption fill:#dbeafe,stroke:#2563eb,stroke-width:2px click handleCaption "96ad0deafa86fab8.html" click executeStep "a26ccfb820921de2.html"
SourceType
executeStep calls