MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / metadataCacheKey

Function metadataCacheKey

src/Data/UserData.js:35–35  ·  view source on GitHub ↗
(displayName)

Source from the content-addressed store, hash-verified

33const metadataCacheKey = (displayName) => `${displayName}-metadata`;
34const USER_CHANGED_EVENT = "opensist-user-changed";
35
36function notifyUserChanged() {
37 if (typeof window !== "undefined") {
38 window.dispatchEvent(new Event(USER_CHANGED_EVENT));

Callers 3

getMetadataBatchFunction · 0.85
setMetadataFunction · 0.85
toggleAnonymousFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected