MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / init

Function init

web/rusense/app/loader.js:110–114  ·  view source on GitHub ↗
(host, route)

Source from the content-addressed store, hash-verified

108
109/** Open the RuSense island and show `route`. Idempotent (safe to call repeatedly). */
110export function init(host, route) {
111 ensureShadow(host);
112 if (!started) { sensingService.start(); started = true; }
113 return show(route || (current && current.route) || 'dashboard');
114}
115
116/** Leave the RuSense tab — stop the stream and free the mounted view. */
117export function suspend() {

Callers

nothing calls this directly

Calls 3

ensureShadowFunction · 0.85
showFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected