Prometheus Entity Management API
    Preparing search index...
    • Decide whether a stored replica may be resumed.

      Pure so the decision is testable without a database. expected is what the caller intends to resume as — its current replica generation, and the shape handle the server most recently gave it.

      Parameters

      • stored: { checkpoint: ReplicaCheckpoint | null; value: string | null }
      • expected: { generation: number; handle?: string }

      Returns ResumeDecision