MCPcopy Create free account
hub / github.com/esmBot/esmBot / delete

Method delete

src/api/index.ts:68–77  ·  view source on GitHub ↗
(key: K)

Source from the content-addressed store, hash-verified

66 }
67
68 delete(key: K) {
69 const out = super.delete(key);
70 this.delListener?.(this.size);
71 const handle = this.timeouts.get(key);
72 if (handle) {
73 clearTimeout(handle);
74 this.timeouts.delete(key);
75 }
76 return out;
77 }
78
79 delListen(func: (size: number) => void) {
80 this.delListener = func;

Callers 10

markFinishedMethod · 0.95
runMethod · 0.45
runMethod · 0.45
pagination.tsFile · 0.45
handleExitFunction · 0.45
acceptJobFunction · 0.45
index.tsFile · 0.45
finishJobFunction · 0.45
node.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected