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

Function setAppState

src/tasks/LocalWorkflowTask/LocalWorkflowTask.test.ts:20–22  ·  view source on GitHub ↗
(updater: (prev: typeof appState) => typeof appState)

Source from the content-addressed store, hash-verified

18 let appState = getDefaultAppState()
19
20 const setAppState = (updater: (prev: typeof appState) => typeof appState) => {
21 appState = updater(appState)
22 }
23
24 return {
25 getAppState: () => appState,

Callers 10

stopTaskFunction · 0.50
registerMainSessionTaskFunction · 0.50
startBackgroundSessionFunction · 0.50
backgroundTaskFunction · 0.50
unregisterForegroundFunction · 0.50
registerAgentForegroundFunction · 0.50
backgroundAgentTaskFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected