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

Function setAppState

src/tools/REPLTool/JSReplTool.test.ts:9–11  ·  view source on GitHub ↗
(updater: (prev: typeof appState) => typeof appState)

Source from the content-addressed store, hash-verified

7 let appState = getDefaultAppState()
8
9 const setAppState = (updater: (prev: typeof appState) => typeof appState) => {
10 appState = updater(appState)
11 }
12
13 return {
14 options: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected