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

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemote
React SDK
Vue SDK
Svelte SDK
Angular SDK
LangGraph SDK
UiClientAuthReactLoggingReact UiUtilsServerStream
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
Store
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/langgraphwebLifecycleProjection
Interface●Since v0.3

LifecycleProjection

Projection returned from the lifecycle transformer's init().

The local StreamChannel is closed automatically when the transformer finalizes or fails. _lifecycleLog is intentionally underscore-prefixed to signal that it is consumed by the run stream wiring (see run-stream.ts) and not meant for direct user access - consumers should read run.lifecycle instead.

The lifecycle iterable is the root-scoped projection (prefix [], starting at offset 0) mirroring the pattern used by the subgraph discovery transformer. Root stream wiring consumes it via SET_LIFECYCLE_ITERABLE; child streams are wired with their own path-scoped iterable produced by filterLifecycleEntries.

Copy
interface LifecycleProjection

Properties

property
_lifecycleLog: EventLog<LifecycleEntry>
property
lifecycle: AsyncIterable<LifecycleEntry>
View source on GitHub