MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / get_loop

Method get_loop

src/web/task_manager.py:86–88  ·  view source on GitHub ↗

获取事件循环

(self)

Source from the content-addressed store, hash-verified

84 self._loop = loop
85
86 def get_loop(self) -> Optional[asyncio.AbstractEventLoop]:
87 """获取事件循环"""
88 return self._loop
89
90 def is_cancelled(self, task_uuid: str) -> bool:
91 """检查任务是否已取消"""

Callers 3

run_registration_taskFunction · 0.80
_schedule_async_jobFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected