createMemorySessionStorage
Summary
Creates a session storage that stores all session data in memory.
Note: This is useful for testing and development. All session data is lost when the server restarts.
Signature
function createMemorySessionStorage(
options: MemorySessionStorageOptions,
): SessionStorage;
Params
options
The options for the session storage
Returns
The session storage