WaitingChainTail
Represents the tail (final) stage in a waiting chain. This class encapsulates the final stage and function criteria that a waiting chain should wait for after completing the main processing stages.
Parameters
stage
The command processing stage to wait for.
function
The function criteria for the stage (may be empty for non-function stages).