LangGraph.js API Reference
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    db: Database
    isSetup: boolean
    serde: SerializerProtocol
    withCheckpoint: Statement
    withoutCheckpoint: Statement

    Methods

    • Parameters

      • config: RunnableConfig

      Returns Promise<undefined | Checkpoint<string, string>>

    • 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.

      Parameters

      • current: undefined | number

      Returns number

    • Store intermediate writes linked to a checkpoint.

      Parameters

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

      Returns Promise<void>