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

Function checkForUpdates

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

Source from the content-addressed store, hash-verified

57018 if (!s) return () => {}
57019 let B = !1,
57020 $ = null
57021 const checkForUpdates = () => {
57022 if (B || !x.current) return
57023 const s = o.getState()
57024 let i, U
57025 try {
57026 i = a(s, u.current)
57027 } catch (s) {
57028 ;((U = s), ($ = s))
57029 }
57030 ;(U || ($ = null),
57031 i === _.current
57032 ? w.current || j()
57033 : ((_.current = i), (C.current = i), (w.current = !0), L()))
57034 }
57035 return (
57036 (i.onStateChange = checkForUpdates),

Callers 1

ConnectFunctionFunction · 0.85

Calls 3

aFunction · 0.70
LFunction · 0.70
jFunction · 0.50

Tested by

no test coverage detected