Module

x/aleph/server/types.ts>SessionStorage

The Full-stack Framework in Deno.
Go to Latest
interface SessionStorage
import { type SessionStorage } from "https://dotland.deno.dev/x/aleph@1.0.0-beta.15/server/types.ts";

Methods

get(sid: string): Promise<Record<string, unknown> | undefined>
set(
sid: string,
data: Record<string, unknown>,
expires: number,
): Promise<void>
delete(sid: string): Promise<void>