Table of Contents

Method GetLatestSessionAsync

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

GetLatestSessionAsync(string, string, CancellationToken)

Returns the latest resume session across skipped runs that saved no session.

Task<JsonElement?> GetLatestSessionAsync(string userId, string taskId, CancellationToken ct = default)

Parameters

userId string
taskId string
ct CancellationToken

Returns

Task<JsonElement?>