We use this event to discriminate between resources with just 'id' and 'events' as they collide. This is a workaround, should be redone using classes and instanceof.
OptionalmetaReturn an optional dependency wrapper for this event.
OptionalparallelIf true, listeners with the same priority run concurrently within a batch. Batches (grouped by order) still execute sequentially in priority order.
OptionalpayloadOptional validation schema for runtime payload validation. When provided, event payload will be validated when emitted.
The definioten of the event. This is different from the event emission.