MCPcopy Create free account
hub / github.com/chakra-ui/panda / constructor

Method constructor

packages/shared/src/cache-map.ts:6–10  ·  view source on GitHub ↗
(maxCacheSize = 1000)

Source from the content-addressed store, hash-verified

4 private maxCacheSize: number
5
6 constructor(maxCacheSize = 1000) {
7 this.maxCacheSize = maxCacheSize
8 this.cache = new Map<K, V>()
9 this.keysInUse = []
10 }
11
12 get(key: K) {
13 if (!this.cache.has(key)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected