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

Method is_cancelled

src/web/task_manager.py:90–92  ·  view source on GitHub ↗

检查任务是否已取消

(self, task_uuid: str)

Source from the content-addressed store, hash-verified

88 return self._loop
89
90 def is_cancelled(self, task_uuid: str) -> bool:
91 """检查任务是否已取消"""
92 return _task_cancelled.get(task_uuid, False)
93
94 def cancel_task(self, task_uuid: str):
95 """取消任务"""

Callers 4

callbackMethod · 0.95
run_registration_taskFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected