Interface AutoKeyMap<K, V>

A map store with auto-generated key.

interface AutoKeyMap {
    delete(key, options?): MaybePromise<void>;
    get(key, options?): MaybePromise<undefined | V>;
    getKey(value, options?): MaybePromise<K>;
    has(key, options?): MaybePromise<boolean>;
    put(value, options?): MaybePromise<K>;
}

Type Parameters

Hierarchy

Implemented by

Methods

Generated using TypeDoc