Persists session snapshots under a string key. Implementations are
interchangeable (in-memory, file, Redis, …) so callers depend on this
interface, never a concrete store.
Works with plain SessionSnapshot JSON (from session.toJSON()), not
the Session class — keeping persistence decoupled from the client.
Persists session snapshots under a string key. Implementations are interchangeable (in-memory, file, Redis, …) so callers depend on this interface, never a concrete store.
Works with plain SessionSnapshot JSON (from
session.toJSON()), not theSessionclass — keeping persistence decoupled from the client.