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

Method bumpState

src/browser/stores/WorkspaceStore.ts:2367–2369  ·  view source on GitHub ↗

* Bump state for a workspace to trigger React re-renders. * Used by addEphemeralMessage for frontend-only messages.

(workspaceId: string)

Source from the content-addressed store, hash-verified

2365 * Used by addEphemeralMessage for frontend-only messages.
2366 */
2367 bumpState(workspaceId: string): void {
2368 this.states.bump(workspaceId);
2369 }
2370
2371 getWorkflowToolLiveRun(workspaceId: string, toolCallId: string): WorkflowToolLiveRunState | null {
2372 return this.chatTransientState.get(workspaceId)?.liveWorkflowRuns.get(toolCallId) ?? null;

Callers 5

showAllMessagesFunction · 0.80
addEphemeralMessageFunction · 0.80
removeEphemeralMessageFunction · 0.80

Calls 1

bumpMethod · 0.80

Tested by

no test coverage detected