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

x/mtkruto/storage/1_storage_memory.ts>StorageMemory

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class StorageMemory
implements Storage
extends Storage
import { StorageMemory } from "https://deno.land/x/mtkruto@0.1.139/storage/1_storage_memory.ts";

Properties

protected
map: Map<string, unknown>
readonly
supportsFiles

Methods

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