It’s not even that. There are APIs to persist state beyond app termination. Even if your app gets killed due to memory pressure, it should continue where it left off.