| | | 1 | | using Elsa.Workflows.Runtime.Entities; |
| | | 2 | | using Elsa.Workflows.Runtime.Filters; |
| | | 3 | | using Elsa.Workflows.Runtime.Matches; |
| | | 4 | | using Elsa.Workflows.Runtime.Options; |
| | | 5 | | using Elsa.Workflows.Runtime.Parameters; |
| | | 6 | | using Elsa.Workflows.Runtime.Params; |
| | | 7 | | using Elsa.Workflows.Runtime.Requests; |
| | | 8 | | using Elsa.Workflows.Runtime.Results; |
| | | 9 | | using Elsa.Workflows.State; |
| | | 10 | | |
| | | 11 | | namespace Elsa.Workflows.Runtime.Distributed; |
| | | 12 | | |
| | | 13 | | public partial class DistributedWorkflowRuntime |
| | | 14 | | { |
| | | 15 | | private readonly Lazy<ObsoleteWorkflowRuntime> _obsoleteApi; |
| | 0 | 16 | | private ObsoleteWorkflowRuntime ObsoleteApi => _obsoleteApi.Value; |
| | | 17 | | |
| | 0 | 18 | | public Task<CanStartWorkflowResult> CanStartWorkflowAsync(string definitionId, StartWorkflowRuntimeParams? options = |
| | 0 | 19 | | public Task<WorkflowExecutionResult> StartWorkflowAsync(string definitionId, StartWorkflowRuntimeParams? options = n |
| | 0 | 20 | | public Task<ICollection<WorkflowExecutionResult>> StartWorkflowsAsync(string activityTypeName, object bookmarkPayloa |
| | 0 | 21 | | public Task<WorkflowExecutionResult?> TryStartWorkflowAsync(string definitionId, StartWorkflowRuntimeParams? options |
| | 0 | 22 | | public Task<WorkflowExecutionResult?> ResumeWorkflowAsync(string workflowInstanceId, ResumeWorkflowRuntimeParams? op |
| | 0 | 23 | | public Task<ICollection<WorkflowExecutionResult>> ResumeWorkflowsAsync(string activityTypeName, object bookmarkPaylo |
| | 0 | 24 | | public Task<TriggerWorkflowsResult> TriggerWorkflowsAsync(string activityTypeName, object bookmarkPayload, TriggerWo |
| | 0 | 25 | | public Task<WorkflowExecutionResult> ExecuteWorkflowAsync(WorkflowMatch match, ExecuteWorkflowParams? options = null |
| | 0 | 26 | | public Task<CancellationResult> CancelWorkflowAsync(string workflowInstanceId, CancellationToken cancellationToken = |
| | 0 | 27 | | public Task<IEnumerable<WorkflowMatch>> FindWorkflowsAsync(WorkflowsFilter filter, CancellationToken cancellationTok |
| | 0 | 28 | | public Task<WorkflowState?> ExportWorkflowStateAsync(string workflowInstanceId, CancellationToken cancellationToken |
| | 0 | 29 | | public Task ImportWorkflowStateAsync(WorkflowState workflowState, CancellationToken cancellationToken = default) => |
| | 0 | 30 | | public Task UpdateBookmarkAsync(StoredBookmark bookmark, CancellationToken cancellationToken = default) => ObsoleteA |
| | 0 | 31 | | public Task<long> CountRunningWorkflowsAsync(CountRunningWorkflowsRequest request, CancellationToken cancellationTok |
| | | 32 | | } |