Table of Contents

Method GetLatestRunAsync

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

GetLatestRunAsync(string, string, CancellationToken)

Returns the most recent run for the given task, or null if the task has never run.

Task<AgentTaskRun?> GetLatestRunAsync(string userId, string taskId, CancellationToken ct = default)

Parameters

userId string
taskId string
ct CancellationToken

Returns

Task<AgentTaskRun?>