value

val value: Array<out String>

Names of aggregates to listen for state events from.

When specified, the handler will only be invoked for state changes in aggregates with matching names. This provides fine-grained control over which state changes trigger the handler, improving performance and reducing unnecessary processing.

If empty (default), the handler receives state events from all aggregates.