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

Method removeByIds

keyword/keyword.ts:399–412  ·  view source on GitHub ↗
(taskIds: number[])

Source from the content-addressed store, hash-verified

397 if (this.remove(taskId)) {
398 success++;
399 } else {
400 failed++;
401 }
402 }
403
404 return { success, failed };
405 }
406
407 get(taskId: number): KeywordTask | undefined {
408 return this.tasks.find((task) => task.task_id === taskId);
409 }
410
411 getAll(): KeywordTask[] {
412 return this.tasks;
413 }
414
415 getAllIds(): number[] {

Callers 1

keywordFunction · 0.80

Calls 1

removeMethod · 0.95

Tested by

no test coverage detected