PWA servers deliver push_ notifications to service workers which communicate and update the current state or even display a message to the user. This function runs independently in the background and thus works when the app is closed too.