Table of Contents

Constructor WaitToolset

Namespace
Oscova.Agents.Toolsets
Assembly
Oscova.Agents.dll

WaitToolset(Func<DelegatedWorkState?>?, Func<string, Task?>?)

Lets an agent pause its current run, or wait for selected subagents and background jobs.

public WaitToolset(Func<DelegatedWorkState?>? resolveWork = null, Func<string, Task?>? findJob = null)

Parameters

resolveWork Func<DelegatedWorkState?>?

Returns the root run's subagent state, or null outside a run that owns one.

findJob Func<string, Task?>?

Returns the completion of a background job this conversation started in an earlier run, or null.