pub async fn get_app_state(
app: AppHandle,
runtime: State<'_, Runtime>,
) -> Result<AppStateDto, String>Expand description
Returns the full interface state. The first call waits for the catalogue; later calls recheck
it in the background when it’s stale and announce WIDGETS_CHANGED once it loads.
Development builds without a catalogue URL rebuild it from the working tree on every call.