Interface IAgentTaskHandler
- Namespace
- Oscova.Agents.Tasks
- Assembly
- Oscova.Agents.dll
Hooks into the standard agent task run for a reserved task key.
public interface IAgentTaskHandlerProperties
- TaskKey
-
Reserved task slug that maps a task file to this handler.
Methods
- PrepareAsync(AgentTaskDefinition, CancellationToken)
-
Prepares the agent run. Return
nullto indicate there is no work this tick; the executor will mark the run completed without invoking the agent.