Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT-LLM
/ has_event_loop
Function
has_event_loop
tensorrt_llm/executor/utils.py:68–73 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
66
67
68
def
has_event_loop() -> bool:
69
try
:
70
asyncio.get_running_loop()
71
except
RuntimeError:
72
return
False
73
return
True
74
75
76
class
RequestError(RuntimeError):
Callers
3
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected