Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/langchain-ai/langgraph
/ __init__
Method
__init__
libs/langgraph/langgraph/utils/queue.py:81–83 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
79
""
"
80
81
def
__init__(self):
82
self._queue = deque()
83
self._count = Semaphore(0)
84
85
def
put(self, item, block=True, timeout=None):
86
""
"Put the item on the queue.
Callers
nothing calls this directly
Calls
1
Semaphore
Class · 0.85
Tested by
no test coverage detected