MCPcopy Create free account
hub / github.com/GCWing/BitFun / updateState

Method updateState

src/web-ui/src/app/services/AppManager.ts:66–69  ·  view source on GitHub ↗
(updates: Partial<AppState>)

Source from the content-addressed store, hash-verified

64 }
65
66 private updateState(updates: Partial<AppState>): void {
67 this.state = { ...this.state, ...updates };
68 this.notifyStateChange();
69 }
70
71 updateLayout(layout: Partial<LayoutState>): void {
72 const hasLayoutChange = Object.entries(layout).some(([key, value]) => (

Callers 12

updateAgentConfigMethod · 0.95
createChatSessionMethod · 0.95
selectChatSessionMethod · 0.95
sendMessageMethod · 0.95
enableExtensionMethod · 0.95
disableExtensionMethod · 0.95
configureExtensionMethod · 0.95
openTabMethod · 0.95
closeTabMethod · 0.95
selectTabMethod · 0.95
clearErrorMethod · 0.95
setupEventListenersMethod · 0.95

Calls 1

notifyStateChangeMethod · 0.95

Tested by

no test coverage detected