Private
constructorFunction to call when an entity dies.
Optional
options: EntityEventOptionsAdditional filtering options for when the subscription fires.
Returns the closure that can be used in future downstream calls to unsubscribe.
This function can't be called in read-only mode.
This function can be called in early-execution mode.
This function can't be called in read-only mode.
This function can be called in early-execution mode.
Supports registering for an event that fires after an entity has died.