Method WaitAsync
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
WaitAsync(int, string, string[]?, CancellationToken)
Waits for a bounded duration or selected work, then tells the agent what it observed.
public Task<string> WaitAsync(int durationSeconds, string reason, string[]? handles = null, CancellationToken cancellationToken = default)Parameters
durationSecondsintreasonstringhandlesstring[]?cancellationTokenCancellationToken