Skip to content
Français

SpeculationRecoveryOptions

import type { SpeculationRecoveryOptions } from "@elie-laloum/outpost";
  • runIdRequired
    string
    runId of the race to release.
  • revisionRequired
    string
    Revision of the saved object as you read it; if it changed since, recovery rejects with TransportConflict.
  • coordinatorStoppedRequired
    true
    Explicit confirmation that the old coordinator has stopped; a remote PID or elapsed time is insufficient evidence.
  • transporterRequired
    Transport
    Transport holding the saved race.
export interface SpeculationRecoveryOptions extends TransportStoreOptions {
  readonly runId: string;
  readonly revision: string;
  readonly coordinatorStopped: true;
}