Updated by
Modified
SARL-FAQ.markdown- Ignore whitespace
+The `Initialize` behavior handler in agents is a bit special, because it is the code ran when an agent is born. As such, its execution is more synchronous than other behavior rules.
+1. Any event emitted within an `Initialize`, will not be processed until `Initialize` finishes. So your agent initialization should not depend and wait on any other event being processed, as they won't!
+2. When spawning an agent in `Initialize`, the spawn instructions will not return until all the `Initialize` behaviors of the spawned agent have been executed fully.