Anchorage API reference
    Preparing search index...
    • ApprovalServiceOptions.resumeRun for same-process deployments: resumes the decided run on a RunnerRuntime (rejects are resumed too — the workflow learns the outcome from resumeData.approved) with the record's expectedSuspensionFor(record), so a decision for an earlier suspension of the step is refused. Cross-Worker deployments resume through the run's DO stub instead, with createDoRunTopology(...).resumeRecord or with a request body that spreads expectedSuspensionFor(record); a resume without it is unchecked.

      Parameters

      Returns (record: ApprovalRecord, decision: ApprovalDecision) => Promise<RunSummary>