Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/storage/1_storage_local_storage.ts>StorageLocalStorage

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

Constructors

new
StorageLocalStorage(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)