LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
  • Stream
LangGraph SDK
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
โŒ˜I

Chat LangChain

What can I help with?

Enter to sendยทShift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemoteStream
LangGraph SDK
ClientAuthReactLoggingReact UiServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraph-checkpointstoreAsyncBatchedStore
Classโ—Since v0.0

AsyncBatchedStore

Copy
class AsyncBatchedStore

Bases

BaseStore

Constructors

Properties

Methods

Inherited fromBaseStore

Methods

Mbatchโ†’ Promise<OperationResults<Op>>
โ€”

Execute multiple operations in a single batch.

Mdeleteโ†’ Promise<void>
โ€”

Delete an item from the store.

Mgetโ†’ Promise<Item | null>
โ€”

Retrieve a single item by its namespace and key.

View source on GitHub
M
listNamespaces
โ†’ Promise<string[][]>
โ€”

List and filter namespaces in the store.

Mputโ†’ Promise<void>
โ€”

Store or update an item.

Msearchโ†’ Promise<SearchItem[]>
โ€”

Search for items within a namespace prefix.

Mstart
โ€”

Start the store. Override if initialization is needed.

Mstop
โ€”

Stop the store. Override if cleanup is needed.

constructor
constructorโ†’ AsyncBatchedStore
property
lg_name: string
property
store: BaseStore
property
isRunning: boolean
method
deleteโ†’ Promise<void>
method
getโ†’ Promise<Item | null>
method
listNamespacesโ†’ Promise<string[][]>
method
putโ†’ Promise<void>
method
searchโ†’ Promise<Item[]>
method
start
method
stopโ†’ Promise<void>
method
toJSONโ†’ __type

Abstract base class for persistent key-value stores.

Stores enable persistence and memory that can be shared across threads, scoped to user IDs, assistant IDs, or other arbitrary namespaces.

Features:

  • Hierarchical namespaces for organization
  • Key-value storage with metadata
  • Vector similarity search (if configured)
  • Filtering and pagination

Delete an item from the store.

Retrieve a single item by its namespace and key.

List and filter namespaces in the store. Used to explore data organization and navigate the namespace hierarchy.

Store or update an item.

Search for items within a namespace prefix. Supports both metadata filtering and vector similarity search.

Start the store. Override if initialization is needed.

Stop the store. Override if cleanup is needed.