onBridgeDiagnostic function

Module @runic-artifex/views in @runic-artifex/views 0.23.0

function onBridgeDiagnostic(listener: BridgeDiagnosticListener): () => void;

Observes Views runtime failures of the current instance (the page's, outside RunicInstance.run): failed routes (with their .NET detail in development), a missing or unconnected Bridge, operation timeouts and errors the runtime caught from listeners. The Vite plugin forwards the page's to the Runic DevTools dock. Returns a function that stops observing.