MCPcopy Create free account
hub / github.com/angular/examples /

Class

genkit-angular-story-generator/src/flows.ts:310–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308// store in a production application.
309const sessionStore: { [key: string]: SessionData } = {};
310class JsonSessionStore<S = any> implements SessionStore<S> {
311 async get(sessionId: string): Promise<SessionData<S> | undefined> {
312 if (sessionId in sessionStore)
313 return sessionStore[sessionId];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected