langchain.js
    Preparing search index...

    ShallowRedisSaver - A Redis checkpoint saver that only keeps the latest checkpoint per thread.

    This is a memory-optimized variant that:

    • Only stores the most recent checkpoint for each thread
    • Stores channel values inline (no separate blob storage)
    • Automatically cleans up old checkpoints and writes when new ones are added
    • Reduces storage usage for applications that don't need checkpoint history

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Parameters

      • threadId: string

      Returns Promise<void>

    • Returns Promise<void>

    • Parameters

      • config: RunnableConfig

      Returns Promise<any>

    • Parameters

      • config: RunnableConfig

      Returns Promise<any>

    • Parameters

      • config: null | RunnableConfig<Record<string, any>>
      • Optionaloptions: any

      Returns AsyncGenerator<CheckpointTuple>

    • Parameters

      • config: RunnableConfig
      • checkpoint: Checkpoint
      • metadata: CheckpointMetadata
      • _newVersions: ChannelVersions

      Returns Promise<RunnableConfig<Record<string, any>>>

    • Parameters

      • config: RunnableConfig
      • writes: PendingWrite[]
      • taskId: string

      Returns Promise<void>