Optionalenabled: booleanWhether to enable parallel execution (default: true)
Alias for payloadSchema. Use this to define the event payload validation contract.
Optionaloptions: { override?: boolean }Declare errors that hooks assigned to this event might throw. This is for documentation purposes only.
Enable parallel execution for this event's listeners. When enabled, listeners with the same
orderrun concurrently within a batch. Batches execute sequentially in ascending order priority.