save

open suspend override fun save(threadId: String, checkpoint: Checkpoint<State>)

Stores checkpoint as the latest checkpoint of threadId.

A checkpointer that keeps a history adds it to the history of the thread, where it replaces the checkpoints with its step or a later one: a thread has one checkpoint for each step.