Anchorage API reference
    Preparing search index...
    interface DoRunTopology {
        dispatchStatus(
            workflowId: string,
            runId: string,
        ): Promise<RunSummary | undefined>;
        persistedStart(
            workflowId: string,
            runId: string,
        ): Promise<PersistedStartResult<RunSummary> | undefined>;
        resume(
            workflowId: string,
            runId: string,
            body: unknown,
            requestedBy: string,
            requestedByKind: "human" | "service" | "agent" | "system",
        ): Promise<RunSummary>;
        resumeRecord(
            record: ApprovalRecord,
            decision: ApprovalDecision,
        ): Promise<RunSummary>;
        start(input: DoRunStartInput): Promise<RunSummary>;
        startLiveness(workflowId: string, runId: string): Promise<boolean>;
        status(workflowId: string, runId: string): Promise<RunSummary | undefined>;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • createRunRouter's resume thunk.

      Parameters

      • workflowId: string
      • runId: string
      • body: unknown
      • requestedBy: string
      • requestedByKind: "human" | "service" | "agent" | "system"

      Returns Promise<RunSummary>