MCPcopy Create free account
hub / github.com/Noumena-Network/code / setAppState

Function setAppState

src/tools/WorkflowTool/WorkflowTool.test.ts:17–19  ·  view source on GitHub ↗
(updater: (prev: typeof appState) => typeof appState)

Source from the content-addressed store, hash-verified

15 let appState = getDefaultAppState()
16
17 const setAppState = (updater: (prev: typeof appState) => typeof appState) => {
18 appState = updater(appState)
19 }
20
21 return {
22 getAppState: () => appState,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected