Method SaveAsync
SaveAsync(AgentRunState, CancellationToken)
Saves a run's state, replacing the previous one.
public Task SaveAsync(AgentRunState state, CancellationToken cancellationToken = default)
Parameters
stateAgentRunStateThe state.
cancellationTokenCancellationTokenA token to cancel the save.
Returns
- Task
A task that completes when the state is saved.