Wait For Completions • AI Agent SDK
wait_for_completions: Wait for sub-agent completions (optional blocking method).
wait_for_completions
Method
</div>
This is a method of the AgentTeam class in the agents module.
Wait for sub-agent completions (optional blocking method).
Signature
def wait_for_completions(timeout: Optional[float], agent_ids: Optional[List[str]]) -> List[SubAgentCompletionEvent]Parameters
ParamField
Optional[float]No description available.
ParamField
OptionalNo description available.
Returns
ResponseField
List[SubAgentCompletionEvent]The result of the operation.
Uses
time_module.timecompleted_agents.addtime_module.sleep
Source
View on GitHubpraisonaiagents/agents/agents.py at line 4607