MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / getUserTasks

Method getUserTasks

sendat/sendat.ts:281–283  ·  view source on GitHub ↗
(chatId: number)

Source from the content-addressed store, hash-verified

279 }
280
281 // 暂停任务
282 async pauseTask(taskId: number): Promise<boolean> {
283 const task = this.getTask(taskId);
284 if (task && !task.pause) {
285 task.pause = true;
286 this.removeTaskFromCron(taskId);

Callers 1

handleListTasksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected