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