Durable execution records workflow steps and results in persistent history. After a worker stops, another worker can replay that history and continue without repeating completed steps.
The demo interrupts a worker after step two and resumes from a checkpoint. External side effects can be retried, so activities need idempotent design.
When to use
Use it for tasks such as approval waits or order flows that outlive a server process.