MCPcopy Create free account
hub / github.com/denoland/std / set

Method set

cache/memoize.ts:17–17  ·  view source on GitHub ↗

Stores a value in the cache under the given key.

(key: K, val: V)

Source from the content-addressed store, hash-verified

15 get(key: K): V | undefined;
16 /** Stores a value in the cache under the given key. */
17 set(key: K, val: V): unknown;
18 /** Removes the value associated with the given key from the cache. */
19 delete(key: K): unknown;
20}

Callers 15

setMethod · 0.65
#resetTtlMethod · 0.65
memoizeFunction · 0.65
_serializeArgListFunction · 0.65
lru_cache_test.tsFile · 0.65
ttl_cache_test.tsFile · 0.65
#setMostRecentlyUsedMethod · 0.65
copyFunction · 0.65
concatFunction · 0.65
setMethod · 0.65
decodeMapFunction · 0.65

Implementers 1

LruCachecache/lru_cache.ts

Calls

no outgoing calls

Tested by

no test coverage detected