MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / setShellSelectedProjectId

Function setShellSelectedProjectId

dashboard/shell/src/sdk.jsx:53–58  ·  view source on GitHub ↗
(projectId)

Source from the content-addressed store, hash-verified

51}
52
53export function setShellSelectedProjectId(projectId) {
54 const next = String(projectId || "");
55 if (next === selectedProjectId) return;
56 selectedProjectId = next;
57 notifyProjectListeners();
58}
59
60export function subscribeSelectedProject(fn) {
61 projectListeners.add(fn);

Callers 1

AppFunction · 0.90

Calls 1

notifyProjectListenersFunction · 0.85

Tested by

no test coverage detected