MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / notify

Method notify

tensorrt_llm/llmapi/utils.py:405–407  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

403 self._q.append(item)
404
405 def notify(self) -> None:
406 if self._q:
407 self._event.set()
408
409 def unsafe_get(self):
410 # Unsafe get taints the queue, renders it unusable by async methods.

Callers 2

_notifyMethod · 0.80
_notify_manyMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected