AsyncAggregatorAgent
Buffers events by Event.correlationId until every event-type in eventTypesNeeded has been observed, then hands the collected list to processEvents.
Useful when an agent must wait for fan-out work to complete before acting (for example, gathering responses from multiple parallel sub-agents that share a correlation id).
Mirrors the Python reference's AsyncAggregatorAgent.
Functions
Link copied to clipboard
Override to act on the assembled event list. Default returns no follow-up events.
Link copied to clipboard
Link copied to clipboard
Suspend until every needed event-type arrives for correlationId, or until timeoutMs elapses. Returns the captured events on success, or whatever has been captured so far on timeout.