LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkstreammulti_cursor_buffer
    Module●Since v0.3

    multi_cursor_buffer

    Attributes

    Classes

    View source on GitHub
    attribute
    T
    class
    MultiCursorBuffer

    Unbounded async-iterable append-only log with per-iterator cursors.

    Direct port of libs/sdk/src/client/stream/multi-cursor-buffer.ts. Each async for loop gets its own cursor starting at position 0, so late consumers still see all previously buffered items. Lifetime is bounded by the owning projection / handle; there is no eviction policy.