Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>StorageSessionStorage

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class StorageSessionStorage
implements Storage
extends Storage
import { StorageSessionStorage } from "https://deno.land/x/mtkruto@0.1.157/mod.ts";

Constructors

new
StorageSessionStorage(prefix: string)

Properties

readonly
prefix: string
readonly
supportsFiles: boolean

Methods

get<T>(key_: readonly StorageKeyPart[]): T | null
getMany<T>(filter: GetManyFilter, params?: { limit?: number; reverse?: boolean; }): Generator<[readonly StorageKeyPart[], T]>
incr(key: readonly StorageKeyPart[], by: number)
set(key_: readonly StorageKeyPart[], value: unknown): MaybePromise<void>