Attaches metadata used by docs and tooling.
Enable parallel execution for this event's listeners.
When enabled, listeners with the same order run concurrently within a batch.
Batches execute sequentially in ascending order priority.
Optionalenabled: booleanWhether to enable parallel execution (default: true)
Declares the event payload schema.
Alias for payloadSchema. Use this to define the event payload validation contract.
Adds or replaces event tags.
Optionaloptions: { override?: boolean }Declare errors that hooks assigned to this event might throw. This is for documentation purposes only.
Enable transactional execution for this event's listeners. In transactional mode every listener must return an async undo closure.
Optionalenabled: TEnabledWhether transactional mode is enabled (default: true)
Materializes the final event definition for registration or reuse.