Method WaitAsync
- Namespace
- Oscova.Agents.Providers
- Assembly
- Oscova.Agents.dll
WaitAsync(AIAgent, AgentSession, IReadOnlyList<string>, TimeSpan, CancellationToken)
Waits for selected workers or background jobs, a steer, or the timeout, and describes what it observed. With no handles it is a timed sleep that only a steer ends early.
public Task<string> WaitAsync(AIAgent agent, AgentSession session, IReadOnlyList<string> handles, TimeSpan timeout, CancellationToken ct)Parameters
agentAIAgentsessionAgentSessionhandlesIReadOnlyList<string>timeoutTimeSpanctCancellationToken