shouldNotify

open override fun shouldNotify(processingStage: CommandStage): Boolean

Evaluates whether notification is required for the given processing stage. This allows wait strategies to filter notifications based on their waiting criteria.

Return

true if notification should be sent for this stage, false otherwise.

Parameters

processingStage

The command processing stage being evaluated.


open override fun shouldNotify(signal: WaitSignal): Boolean

Evaluates whether the wait signal should trigger a notification. Allows for complex filtering logic based on signal properties like stage, function info, error status, etc.

Return

true if notification should be sent for this signal, false otherwise.

Parameters

signal

The wait signal being evaluated for notification.