pub fn install_state_hooks(state: &AppState)
Wires delivery and the restart-time resumers to the app state, and starts the native memory watchers.