Skip to content

resumabilityOf

resumabilityOf(config, checkpointer, recorded): Promise<SingleShotResumability>

Defined in: packages/core/src/runtime/resumeHint.ts:72

Decide whether the run just recorded can be resumed, reading the thread’s latest checkpoint. Called after the record and before the checkpointer closes. Never throws: a checkpoint that cannot be read counts as no checkpoint, because the hint must never be what breaks a run.

GthConfig

SessionCheckpointer

{ conversationId: number; } | undefined

Promise<SingleShotResumability>