MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / saveToMap

Function saveToMap

packages/frontend/src/decode.ts:74–77  ·  view source on GitHub ↗
(index: number, value: T)

Source from the content-addressed store, hash-verified

72let StoreRefMap: StoreNodeMap
73
74const saveToMap = <T extends DecodedValue>(index: number, value: T): T => {
75 DecodedMap.set(index, value)
76 return value
77}
78
79function decode(index: number): DecodedValue {
80 if (DecodedMap.has(index)) {

Callers 1

decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…