()
| 96 | let keepAliveTimerId: ReturnType<typeof setInterval> | number = 0; |
| 97 | |
| 98 | const updateSessionTimestamp = () => { |
| 99 | if (!activeSessionKey) { |
| 100 | return; |
| 101 | } |
| 102 | new TempStorageDAO().update(activeSessionKey, { savedAt: Date.now() }); |
| 103 | }; |
| 104 | |
| 105 | export const startKeepAlive = (key: string) => { |
| 106 | activeSessionKey = key; |
no test coverage detected