MCPcopy
hub / github.com/Textualize/textual / get

Method get

src/textual/_queue.py:35–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33 pass
34
35 async def get(self) -> QueueType:
36 if not self.ready_event.is_set():
37 await self.ready_event.wait()
38 value = self.values.popleft()
39 if not self.values:
40 self.ready_event.clear()
41 return value
42
43 def get_nowait(self) -> QueueType:
44 if not self.values:

Callers 15

_search_forMethod · 0.95
mainFunction · 0.45
parseMethod · 0.45
highlightFunction · 0.45
decodeFunction · 0.45
emitMethod · 0.45
_get_by_idMethod · 0.45
parseMethod · 0.45
data_bindMethod · 0.45
_merge_bindingsMethod · 0.45
_get_default_cssMethod · 0.45

Calls 2

waitMethod · 0.80
clearMethod · 0.45

Tested by 7

callbackFunction · 0.36
test_getFunction · 0.36
test_set_itemFunction · 0.36
test_delitemFunction · 0.36
test_add_row_auto_heightFunction · 0.36