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

x/oak_nest/modules/cache/src/cache.store.ts>LocalStore

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
class LocalStore
implements ICacheStore
import { LocalStore } from "https://deno.land/x/oak_nest@v3.0.1/modules/cache/src/cache.store.ts";

Constructors

new
LocalStore()

Properties

timeoutMap: Map<string, number>

Methods

clear(): void | Promise<void>
delete(key: string)
get(key: string)
has(key: string): boolean | Promise<boolean>
set(
key: string,
value: any,
options?: { ttl: number; },
)
size(): number | Promise<number>