Shutdown Sequence
Workers Fundamental Concepts
Last updated
Workers Fundamental Concepts
Last updated
Workers in an application's call-chain are shutdown from the bottom up, with the shutdown command of each Worker first cascading down the Worker call-chain hierarchy from the top.
When a Worker has been shutdown (exited), it notifies its Caller. This confirmation comes from the bottom up, in a reverse cascade back up the Worker call-chain hierarchy.
The following flowchart explains the shutdown sequence of a Workers application.