Table of Contents

Method GetLatestRunsAsync

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

GetLatestRunsAsync(IEnumerable<string>, CancellationToken)

Returns the most recent run's status, times, result and error for each of the given task IDs, without transcripts or sessions. Tasks that have never run are absent from the returned dictionary.

Task<IReadOnlyDictionary<string, AgentTaskRun>> GetLatestRunsAsync(IEnumerable<string> taskIds, CancellationToken ct = default)

Parameters

taskIds IEnumerable<string>
ct CancellationToken

Returns

Task<IReadOnlyDictionary<string, AgentTaskRun>>