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

Method hasState

src/node/utils/eventStore.ts:92–94  ·  view source on GitHub ↗

* Check if in-memory state exists for a workspace.

(workspaceId: string)

Source from the content-addressed store, hash-verified

90 * Check if in-memory state exists for a workspace.
91 */
92 hasState(workspaceId: string): boolean {
93 return this.stateMap.has(workspaceId);
94 }
95
96 /**
97 * Read persisted state from disk.

Callers 2

eventStore.test.tsFile · 0.80
endInitMethod · 0.80

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected