Emit event when new entity is added to the Entity Registry

I have a custom component that wants to know when a new entity is added or updated in the entity registry. Is it possible to emit an event when any such action occurs? I have looked through the source code of the entity registry and noticed it does not currenty do that.

Is there future plans for this? Is anyone else interested in such events? If I added added this and created a pull request would it be accepted?

1 Like