Table of Contents

Interface IAgentTaskHandler

Namespace
Oscova.Agents.Tasks
Assembly
Oscova.Agents.dll

Hooks into the standard agent task run for a reserved task key.

public interface IAgentTaskHandler

Properties

TaskKey

Reserved task slug that maps a task file to this handler.

Methods

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.