Interface: SessionStore
Loads and persists a session. One of the three swappable seams.
Methods
load()
ts
load(): Promise<SessionData | null>;The saved session, or null when there is none.
Returns
Promise<SessionData | null>
save()
ts
save(data): Promise<void>;Saves the session. Called after every request that changes it.
Parameters
| Parameter | Type |
|---|---|
data | SessionData |
Returns
Promise<void>