Skip to main content
Module

x/momentum/di/deps.ts>MultikeyMap

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
class MultikeyMap
import { MultikeyMap } from "https://deno.land/x/momentum@v0.8.2/di/deps.ts";

Constructors

new
MultikeyMap(entries?: [TKey1, TKey2, TValue][])

Type Parameters

TKey1
TKey2
TValue

Properties

readonly
size

Methods

delete(key1: TKey1, key2: TKey2)
entries(): Generator<[TKey1, TKey2, TValue]>
forEach(callbackFn: (
value: TValue,
key1: TKey1,
key2: TKey2,
) => void
)
get(key1: TKey1, key2: TKey2)
has(key1: TKey1, key2: TKey2)
keys(): Generator<[TKey1, TKey2]>
set(
key1: TKey1,
key2: TKey2,
value: TValue,
)
values(): Generator<TValue>