Method PrepareAsync
- Namespace
- Oscova.Agents.Tasks
- Assembly
- Oscova.Agents.dll
PrepareAsync(AgentTaskDefinition, CancellationToken)
Prepares the agent run. Return null to indicate there is no work this tick;
the executor will mark the run completed without invoking the agent.
Task<AgentRunPlan?> PrepareAsync(AgentTaskDefinition task, CancellationToken ct = default)Parameters
taskAgentTaskDefinitionctCancellationToken