PrivateconstructorFunction to call when an entity dies.
Optionaloptions: EntityEventOptionsAdditional filtering options for when the subscription fires.
Returns the closure that can be used in future downstream calls to unsubscribe.
early-execution-allowed - This function can be called in early-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
Supports registering for an event that fires after an entity has died.
Source