File size: 782 Bytes
6a5d1d8 | 1 2 3 4 5 6 | # Entity event expiry in Rust
`expire_entity_event` applies the event-age slice to a fixed-pool record and its optional client event word. It clears expired events, delegates temporary records to the entity release routine and emits standalone unlink requests when the corresponding flag is set. Its dispatch result tells the caller whether to continue with this entity. Typed missing-client or unresolved-object errors leave both records untouched.
The [parity report](rust-entity-event-expiry.json) checks all 30 source cases, including the exact threshold, signed clock wrapping, free before unlink, protected records and zero-event behavior. The focused check also reruns the underlying entity release parity. The caller supplies frame timing and carries out engine requests.
|