fn publish(state: &AppState)
Tell every window what is waiting and what is granted, and ask for the user’s attention while a prompt is open.