fix: explicit store update in evaluateAnswer, remove mutation through reference
This commit is contained in:
parent
a02d3b3335
commit
c081e632cf
3 changed files with 17 additions and 3 deletions
|
|
@ -7,5 +7,6 @@ export interface GameSessionStore {
|
|||
ttlMs: number,
|
||||
): Promise<void>;
|
||||
get(sessionId: string): Promise<GameSessionData | null>;
|
||||
update(sessionId: string, data: GameSessionData): Promise<void>;
|
||||
delete(sessionId: string): Promise<void>;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue