MCPcopy
hub / github.com/coder/mux / handleStorage

Function handleStorage

src/browser/components/ProjectSidebar/ProjectSidebar.tsx:232–236  ·  view source on GitHub ↗
(event: StorageEvent)

Source from the content-addressed store, hash-verified

230 }
231
232 const handleStorage = (event: StorageEvent) => {
233 if (event.key && workspaceLastReadKeys.has(event.key)) {
234 bumpVersion();
235 }
236 };
237
238 const unsubscribeWorkspaceStore = Array.from(workspaceIds.values()).map((workspaceId) =>
239 workspaceStore.subscribeKey(workspaceId, () => {

Callers

nothing calls this directly

Calls 2

bumpVersionFunction · 0.85
hasMethod · 0.45

Tested by

no test coverage detected