MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / removeFromMap

Method removeFromMap

src/runtime/adapters/scheduler.ts:536–542  ·  view source on GitHub ↗

* Stop the cron task and remove a job from the map (does NOT persist).

(id: string)

Source from the content-addressed store, hash-verified

534 // Internal helpers
535 // -------------------------------------------------------------------------
536
537 /**
538 * Stop the cron task and remove a job from the map (does NOT persist).
539 */
540 private removeFromMap(id: string): void {
541 const existing = this.jobs.get(id);
542 if (existing) {
543 existing.task?.stop();
544 this.jobs.delete(id);
545 }

Callers 2

registerJobMethod · 0.95
removeJobMethod · 0.95

Calls 1

stopMethod · 0.65

Tested by

no test coverage detected