MCPcopy
hub / github.com/nukeop/nuclear / get

Method get

packages/player/src/test/utils/inMemoryTauriStore.ts:22–28  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

20 }
21
22 async get<T>(key: string): Promise<T | null> {
23 const map = stores.get(this.#path);
24 if (!map) {
25 return null;
26 }
27 return map.get(key) as T | null;
28 }
29
30 async set(key: string, value: unknown) {
31 let map = stores.get(this.#path);

Callers 15

playlistStore.tsFile · 0.45
entriesMethod · 0.45
setMethod · 0.45
deleteMethod · 0.45
addEventListenerMethod · 0.45
removeEventListenerMethod · 0.45
emitMethod · 0.45
ArtistFunction · 0.45
usePlaylistDetailFunction · 0.45
setupStoreIndexFunction · 0.45
setupThemeFileFunction · 0.45

Calls

no outgoing calls

Tested by 1

setupRegistryMockFunction · 0.36