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

x/mtkruto/1_utilities.ts>CacheMap

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class CacheMap
extends Map<K, V>
import { CacheMap } from "https://deno.land/x/mtkruto@0.1.157/1_utilities.ts";

Constructors

new
CacheMap(limit: number, entries?: readonly (readonly [K, V])[] | null)
new
CacheMap(limit: number)
new
CacheMap(limit: number, entries?: readonly (readonly [K, V])[] | null)

Methods

set(key: K, value: V): this