Table of Contents

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

durationSeconds int
reason string
handles string[]?
cancellationToken CancellationToken

Returns

Task<string>