MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / wakeWaiter

Function wakeWaiter

apps/local/src/oauth-result-store.ts:55–60  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

53};
54
55const wakeWaiter = (sessionId: string): void => {
56 const wake = waiters.get(sessionId);
57 if (!wake) return;
58 waiters.delete(sessionId);
59 wake();
60};
61
62const cleanupExpired = (now: number) => {
63 for (const [sessionId, entry] of store) {

Callers 2

publishOAuthResultFunction · 0.85

Calls 3

wakeFunction · 0.85
getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected