Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class CachedManager
import { CachedManager } from "https://deno.land/x/discordjs_deno@0.17/src/manager/CachedManager.ts";

Constructors

new
CachedManager()

Properties

cache: Map<string | number, T>

Methods

clear(): void
delete(id: string | number): boolean
get(id: string | number): T | null
resolve(id: string | number)
set(id: string | number, data: T): T