Beta
Supports registering for an event that fires after an entity has died.
Function to call when an entity dies.
Optional
Additional filtering options for when the subscription fires.
Returns the closure that can be used in future downstream calls to unsubscribe.
Subscribes to an event that fires when an entity dies.
This function can't be called in read-only mode.
Stops this event from calling your function when an entity dies.
Supports registering for an event that fires after an entity has died.