MCPcopy Create free account
hub / github.com/altic-dev/Pilot / deleteSession

Method deleteSession

src/lib/session-store.ts:88–92  ·  view source on GitHub ↗

* Delete a session

(sessionId: string)

Source from the content-addressed store, hash-verified

86 * Delete a session
87 */
88 deleteSession(sessionId: string): void {
89 this.sessions.delete(sessionId);
90 this.subscribers.delete(sessionId);
91 logger.info(`Session deleted: ${sessionId}`);
92 }
93
94 /**
95 * Get all sessions

Callers 2

cleanupStaleSessionsMethod · 0.95
DELETEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected