Rename IWorkflowInterruptor to IWorkflowTriggerInterruptor

This commit is contained in:
Sipke Schoorstra 2020-12-06 13:21:39 +01:00
parent be1ccea956
commit 5e2b5d19ab

View file

@ -9,7 +9,7 @@ namespace Elsa.Services
/// <summary>
/// Causes a suspended workflow's trigger to be interrupted
/// </summary>
public interface IWorkflowInterruptor
public interface IWorkflowTriggerInterruptor
{
Task<WorkflowInstance> InterruptActivityAsync(WorkflowInstance workflowInstance, string activityId, object? input = default, CancellationToken cancellationToken = default);
Task<WorkflowInstance> InterruptActivityAsync(IWorkflowBlueprint workflowBlueprint, WorkflowInstance workflowInstance, string activityId, object? input = default, CancellationToken cancellationToken = default);