MCPcopy Create free account
hub / github.com/Botloader/botloader / deleteByKey

Method deleteByKey

components/runtime/src/ts/scheduled_tasks.ts:256–258  ·  view source on GitHub ↗

* Delete a task by its unique key * * @returns true if found and deleted, false otherwise

(key: string)

Source from the content-addressed store, hash-verified

254 * @returns true if found and deleted, false otherwise
255 */
256 async deleteByKey(key: string): Promise<boolean> {
257 return OpWrappers.tasks.delTaskByKey(this.pluginId, this.name, key);
258 }
259
260 /**
261 * Delete all tasks within this bucket

Callers 2

testDelKeyFunction · 0.80
testDelSingularFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected