Long-running programs and state
Some programs run continuously rather than finishing immediately. Managing state over time allows them to respond, remember, and continue operating correctly.
- Programs that keep running — Using loops to sustain execution.
- Managing in-memory state — Tracking and updating runtime data.
- Persisting and restoring state — Saving and reloading program state.