MCPcopy Create free account
hub / github.com/CopilotKit/OpenGenerativeUI / getSession

Function getSession

apps/app/src/app/api/pick/store.ts:17–19  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

15const timers = new Map<string, ReturnType<typeof setTimeout>>();
16
17export function getSession(sessionId: string): PickSession | undefined {
18 return sessions.get(sessionId);
19}
20
21export function setSession(sessionId: string, data: PickSession) {
22 sessions.set(sessionId, data);

Callers 2

GETFunction · 0.90
PUTFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected