#Observed event timing and race conditions

1 messages · Page 1 of 1 (latest)

warped topaz
#

Hi, I'm a little confused about the phrasing around observers being handled immediately.
If I have a system that removes a component from an entity and triggers an observer that re-adds that component is there a situation where another system could find the entity with no component?

Especially if the other system is ordered using the after() function.

Thanks

viral maple
#

No, if it is re-added on the observer it should always happen before the next system