Anchorage API reference
    Preparing search index...

    Function reconcileApprovalsOnStatusDetached

    • waitUntil-detached wrapper over reconcileApprovalsOnStatus for ExecutionContext-capable hosts. The heal only matters to a later poll, never the response being built, so its D1 reads and writes (the supersede CAS plus the fresh create) leave the status-response path. A rejection is logged as reconcile-error, never left unhandled inside waitUntil. Hosts without an ExecutionContext keep passing reconcileApprovalsOnStatus(...) directly (awaited in-path), as documented by the host-agnostic createRunRouter default.

      Parameters

      • systemActorId: string
      • waitUntil: (promise: Promise<unknown>) => void

      Returns (
          tenant: TenantContext,
          workflowId: string,
          summary: RunSummary,
      ) => Promise<void>