Run callback immediately as a reactive effect. Any Signal::get calls
inside the callback register a subscription; the callback re-runs whenever
those signals change.
Transfer ownership of value into the current scope’s keeper list so it
stays alive for the scope’s lifetime. Used by islands-runtime-bindings to
hand Closure objects across the module boundary without Closure::forget.
Walk [data-island]:not([data-island-mounted]), create a Scope per
island, call the registered mount function inside the scope, then mark the
element as mounted. Islands that error are logged and skipped; others continue.
Programmatically navigate to url (a same-origin path), as if a link to it
were clicked. Runs the same contract as an intercepted click. On any failure
it falls back to a full document load so the user always reaches the page.
Attach an event listener on target for event_name, calling handler.
A cleanup that removes the listener is registered on the current scope so
the listener is removed when the island is unmounted.
Number of scopes the registry currently holds. Exposed for the navigation
layer’s leak canary: a mount/unmount round-trip must return this count to its
baseline (no orphaned SCOPE_REGISTRY entries — AC-V14).