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.
Parameters
Section titled “Parameters”config
Section titled “config”checkpointer
Section titled “checkpointer”recorded
Section titled “recorded”{ conversationId: number; } | undefined
Returns
Section titled “Returns”Promise<SingleShotResumability>