LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    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
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-cliexecmonitor_stream
    Function●Since v0.1

    monitor_stream

    Copy
    monitor_stream(
      stream: asyncio.StreamReader,
      collect: bool = False,
      display: bool = False,
      on_line: 
    View source on GitHub
    Callable
    [
    [
    str
    ]
    ,
    bool
    |
    None
    ]
    |
    None
    =
    None
    )
    ->
    bytearray
    |
    None