MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / stop

Function stop

ui/src/live/createLiveStore.ts:112–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 }
111
112 function stop() {
113 cleanup?.()
114 cleanup = null
115 if (visibilityHandler) {
116 document.removeEventListener('visibilitychange', visibilityHandler)
117 visibilityHandler = null
118 }
119 }
120
121 function reconnect() {
122 if (!cleanup) return

Callers 2

reconnectFunction · 0.70
bumpRefFunction · 0.70

Calls 1

cleanupFunction · 0.85

Tested by

no test coverage detected