LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Graphs
  • Functional API
  • Pregel
  • Checkpointing
  • Storage
  • Caching
  • Types
  • Runtime
  • Config
  • Errors
  • Constants
  • Channels
  • Agents
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

OverviewGraphsFunctional APIPregelCheckpointingStorageCachingTypesRuntimeConfigErrorsConstantsChannelsAgents
LangGraph CLI
LangGraph SDK
LangGraph Supervisor
LangGraph Swarm
Language
Theme
Pythonlanggraphchannelsnamed_barrier_valueNamedBarrierValueAfterFinish
Class●Since v0.4

NamedBarrierValueAfterFinish

A channel that waits until all named values are received before making the value ready to be made available. It is only made available after finish() is called.

Copy
NamedBarrierValueAfterFinish(
  self,
  typ: type[Value],
  names: set[Value]
)

Bases

Generic[Value]BaseChannel[Value, Value, set[Value]]

Constructors

constructor
__init__
NameType
typtype[Value]
namesset[Value]

Attributes

attribute
names: set[Value]
attribute
seen: set[str]
attribute
finished: bool
attribute
ValueType: type[Value]

The type of the value stored in the channel.

attribute
UpdateType: type[Value]

The type of the update received by the channel.

Methods

method
copy

Return a copy of the channel.

method
checkpoint
method
from_checkpoint
method
update
method
get
method
is_available
method
consume
method
finish

Inherited fromBaseChannel

Attributes

Atyp: typAkey: str
—

Key for the cache entry.

View source on GitHub