MCPcopy Index your code
hub / github.com/coder/mux / setState

Method setState

src/node/utils/eventStore.ts:77–79  ·  view source on GitHub ↗

* Set in-memory state for a workspace.

(workspaceId: string, state: TState)

Source from the content-addressed store, hash-verified

75 * Set in-memory state for a workspace.
76 */
77 setState(workspaceId: string, state: TState): void {
78 this.stateMap.set(workspaceId, state);
79 }
80
81 /**
82 * Delete in-memory state for a workspace.

Callers 5

renderMethod · 0.80
componentDidCatchMethod · 0.80
ErrorBoundaryClass · 0.80
eventStore.test.tsFile · 0.80
startInitMethod · 0.80

Calls 1

setMethod · 0.80

Tested by

no test coverage detected