using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using VberZero.Workflow.DesignInfo; using VberZero.Workflow.Persistence; using WorkflowCore.Interface; namespace VberZero.Workflow { public interface IVberPersistenceProvider : IPersistenceProvider { Task GetPersistedWorkflow(string id, CancellationToken cancellationToken = default(CancellationToken)); Task> GetAllRunnablePersistedWorkflow(string definitionId, int version, CancellationToken cancellationToken = default(CancellationToken)); Task GetPersistedExecutionPointer(string id, CancellationToken cancellationToken = default(CancellationToken)); Task GetPersistedWorkflowDefinition(string id, int version, CancellationToken cancellationToken = default(CancellationToken)); } }