MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / stopPoll

Method stopPoll

src/workspaces/transcript-watcher.ts:262–266  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

260 }
261
262 private stopPoll(key: string): void {
263 const entry = this.pollEntries.get(key);
264 if (entry?.timer) clearInterval(entry.timer);
265 this.pollEntries.delete(key);
266 }
267
268 /** Called when a session is disposed OR resolved. Closes idle watchers. */
269 unregister(session: PersistentSession): void {

Callers 2

pollOnceMethod · 0.95
unregisterMethod · 0.95

Calls 2

getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected