method MemorySessionStore.prototype.close
MemorySessionStore.prototype.close(): Promise<void>

Releases resources held by the store (timers, connections).

Optional: called from the plugin's onClose. A store holding nothing omits it.

Return Type

Promise<void>

Usage

import { MemorySessionStore } from "session-plugin/src/index.ts";