method ISessionStore.destroy
ISessionStore.destroy(id: string): Promise<boolean>

Removes a stored session.

Parameters

id: string

Session identifier

Return Type

Promise<boolean>

true when an entry was removed

Usage

import { type ISessionStore } from "common/src/index.ts";