| 12345678910111213141516171819202122 |
- 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<WorkflowInfo> GetPersistedWorkflow(string id, CancellationToken cancellationToken = default(CancellationToken));
- Task<IEnumerable<WorkflowInfo>> GetAllRunnablePersistedWorkflow(string definitionId, int version, CancellationToken cancellationToken = default(CancellationToken));
- Task<WorkflowExecutionPointerInfo> GetPersistedExecutionPointer(string id, CancellationToken cancellationToken = default(CancellationToken));
- Task<WorkflowDefinitionInfo> GetPersistedWorkflowDefinition(string id, int version, CancellationToken cancellationToken = default(CancellationToken));
- }
- }
|