method CacheSessionStore.prototype.destroy
CacheSessionStore.prototype.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 { CacheSessionStore } from "session-plugin/src/index.ts";