Interface IRecoveryCatalog
- Namespace
- WorkflowForge.Extensions.Persistence.Recovery
- Assembly
- WorkflowForge.Extensions.Persistence.Recovery.dll
Provides read access to pending snapshots that may need recovery. Implement using your storage semantics (queries, partitions, tags).
public interface IRecoveryCatalog
Methods
ListPendingAsync(CancellationToken)
Lists all pending workflow snapshots that are eligible for recovery.
Task<IReadOnlyList<WorkflowExecutionSnapshot>> ListPendingAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenToken to cancel the listing operation.
Returns
- Task<IReadOnlyList<WorkflowExecutionSnapshot>>
A read-only collection of pending snapshots.