MCPcopy Create free account
hub / github.com/langchain-ai/langgraph / empty

Method empty

libs/langgraph/langgraph/utils/queue.py:122–124  ·  view source on GitHub ↗

Return True if the queue is empty, False otherwise (not reliable!).

(self)

Source from the content-addressed store, hash-verified

120 self._count.wait(block, timeout)
121
122 def empty(self):
123 """Return True if the queue is empty, False otherwise (not reliable!)."""
124 return len(self._queue) == 0
125
126 def qsize(self):
127 """Return the approximate size of the queue (not reliable!)."""

Callers 1

waitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected