LruCache
This module exports a small in-memory least-recently-used cache.
Exports
LRUCache<T>
import { LRUCache } from "@gmx-io/sdk/utils/LruCache";
const cache = new LRUCache<string>(100);
The class exposes has, get, set, delete, getKeys, and clean.