MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / getSingleBlockAtomCache

Function getSingleBlockAtomCache

frontend/app/store/global.ts:267–270  ·  view source on GitHub ↗
(blockId: string)

Source from the content-addressed store, hash-verified

265}
266
267function getSingleBlockAtomCache(blockId: string): Map<string, Atom<any>> {
268 const blockORef = WOS.makeORef("block", blockId);
269 return getSingleOrefAtomCache(blockORef);
270}
271
272function getSingleConnAtomCache(connName: string): Map<string, Atom<any>> {
273 // this is not a real "oref", but it will work for the cache.

Callers 4

getBlockMetaKeyAtomFunction · 0.85
getOverrideConfigAtomFunction · 0.85
getBlockTermDurableAtomFunction · 0.85
useBlockAtomFunction · 0.85

Calls 1

getSingleOrefAtomCacheFunction · 0.85

Tested by

no test coverage detected