Update EventEmitter.emit() to process registered domain event handlers concurrently via asyncio.gather and gracefully handle individual handler failures.
Catch exceptions from failing handlers, log them with full context/stack traces, and ensure remaining handlers continue processing cleanly.
Update
EventEmitter.emit()to process registered domain event handlers concurrently viaasyncio.gatherand gracefully handle individual handler failures.Catch exceptions from failing handlers, log them with full context/stack traces, and ensure remaining handlers continue processing cleanly.