Method ListAsync
ListAsync(string, CancellationToken)
Lists the runs the store holds, newest first, optionally only those whose metadata owner matches.
public Task<IReadOnlyList<AgentRunState>> ListAsync(string owner = null, CancellationToken cancellationToken = default)
Parameters
ownerstringThe owner to filter on, or null for every run.
cancellationTokenCancellationTokenA token to cancel the listing.
Returns
- Task<IReadOnlyList<AgentRunState>>
The states.