Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Roy3838/Observer
/ setState
Function
setState
app/src/utils/pullModelManager.ts:39–42 ·
view source on GitHub ↗
(newState: Partial<PullState>)
Source
from the content-addressed store, hash-verified
37
};
38
39
const
setState = (newState: Partial<PullState>) => {
40
state = { ...state, ...newState };
41
broadcast();
42
};
43
44
const
resetState = () => {
45
setState({
Callers
3
resetState
Function · 0.85
pullModel
Function · 0.85
useTranscriptionState
Function · 0.85
Calls
1
broadcast
Function · 0.85
Tested by
no test coverage detected