Table of Contents

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

durationSeconds int
reason string
cancellationToken CancellationToken

Returns

Task<string>