Class BaseCheckpointSaver<V>Abstract
Type Parameters V extends string | number = number Defined in libs/checkpoint/dist/base.d.ts:60 Constructors constructor new Base Checkpoint Saver < V > ( serde ? ) : BaseCheckpointSaver < V > Type Parameters V extends string | number = number Defined in libs/checkpoint/dist/base.d.ts:62 Properties serde Defined in libs/checkpoint/dist/base.d.ts:61 Methods get get ( config ) : Promise < undefined | Checkpoint < string , string > > Parameters config : RunnableConfig < Record < string , any > > Returns Promise < undefined | Checkpoint < string , string > > Defined in libs/checkpoint/dist/base.d.ts:63 get Next Version get Next Version ( current , _channel ) : V Returns V Defined in libs/checkpoint/dist/base.d.ts:77 Abstract
get Tuple get Tuple ( config ) : Promise < undefined | CheckpointTuple > Parameters config : RunnableConfig < Record < string , any > > Defined in libs/checkpoint/dist/base.d.ts:64 Abstract
list list ( config , options ? ) : AsyncGenerator < CheckpointTuple , any , unknown > Returns AsyncGenerator < CheckpointTuple , any , unknown > Defined in libs/checkpoint/dist/base.d.ts:65 Abstract
put put ( config , checkpoint , metadata , newVersions ) : Promise < RunnableConfig < Record < string , any > > > Returns Promise < RunnableConfig < Record < string , any > > > Defined in libs/checkpoint/dist/base.d.ts:66 Abstract
put Writes put Writes ( config , writes , taskId ) : Promise < void > Parameters config : RunnableConfig < Record < string , any > > writes : PendingWrite < string > [] taskId : string Returns Promise < void > Defined in libs/checkpoint/dist/base.d.ts:70
Generate the next version ID for a channel.
Default is to use integer versions, incrementing by 1. If you override, you can use str/int/float versions, as long as they are monotonically increasing.