UNPKG

@themineway/smart-storage-js

Version:

A TS/JS library that provides a smart and easy way to store data

10 lines 374 B
import { AConnector } from "../connector.abstract"; export declare class InMemoryConnector extends AConnector { private readonly storage; constructor(storage?: Map<string, unknown>); rawGet<V>(key: string): V | null; rawSet<V>(key: string, value: V): void; remove(key: string): void; clear(): void; } //# sourceMappingURL=in-memory-connector.d.ts.map