MCPcopy Index your code
hub / github.com/dataease/SQLBot / observeState

Function observeState

frontend/public/swagger-ui-bundle.js:30826–30829  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30824 if ('object' != typeof o || null === o)
30825 throw new Error(formatProdErrorMessage(11))
30826 function observeState() {
30827 const s = o
30828 s.next && s.next(getState())
30829 }
30830 observeState()
30831 return { unsubscribe: s(observeState) }
30832 },

Callers 1

subscribeFunction · 0.85

Calls 2

getStateFunction · 0.85
nextMethod · 0.80

Tested by

no test coverage detected