CheckpointSaverOptions
Defined in: packages/core/src/history/checkpointSaver.ts:312
Options for openCheckpointSaver.
Properties
Section titled “Properties”onWriteFailure?
Section titled “onWriteFailure?”
optionalonWriteFailure?: (error) =>void
Defined in: packages/core/src/history/checkpointSaver.ts:319
Called when a put / putWrites could not reach the database. The handler’s job is to tell
the user and to record that this conversation can no longer be resumed. Called ONCE, on the
first failed write: from then on the saver writes nothing to the database and the session runs
from memory, so there is no later failure to report.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”void