LocalStorageCheckpointer

constructor(serializer: StateSerializer<State>, keyPrefix: String = "telar.checkpoint.", maxHistory: Int = 1)

Parameters

serializer

converts the graph state to and from a string.

keyPrefix

what the key of an entry starts with. The thread id follows it.

maxHistory

how many checkpoints a thread keeps, counted from the latest, for CompiledGraph.history and fork. The default keeps only the latest.