Cotal TypeScript packages
    Preparing search index...

    Function resolveCheckpoint

    • Answer a run's open checkpoint over ONE set of planes: locateOpenCheckpoint then answerOpenCheckpoint. A caller whose credential must be pinned to the pause before it may write (the hosting manager, cotal run --local) performs the two halves on two credentials; a caller on a standing credential composes them here.

      A pause whose status already settled is refused by the locate half as settled. One that settles between the two halves gets the plane's own refusals, not softened here: a checkpoint already resumed is a conflict (resume authorization is one-use) and one already expired is a failed-precondition (expiry fails closed). Both mean the answer arrived too late, and both leave this resolver's record filed and unaccepted — which is what the caller needs to be told rather than a success that names a settlement somebody else won.

      Returns Promise<ResolveCheckpointResult>