Method WaitAsync
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
WaitAsync(int, string, CancellationToken)
Waits for a bounded duration, then tells the agent to recheck external state.
public static Task<string> WaitAsync(int durationSeconds, string reason, CancellationToken cancellationToken = default)Parameters
durationSecondsintreasonstringcancellationTokenCancellationToken