Esempio n. 1
0
 private async Task DeleteManyAsync(IEnumerable <string> workflowInstanceIds, CancellationToken cancellationToken)
 {
     var specification = new WorkflowInstanceIdsSpecification(workflowInstanceIds);
     await _workflowInstanceStore.DeleteManyAsync(specification, cancellationToken);
 }
Esempio n. 2
0
 private async Task DeleteManyAsync(ICollection <string> workflowInstanceIds, CancellationToken cancellationToken)
 {
     _logger.LogInformation("Deleting {WorkflowInstanceCount} workflow instances", workflowInstanceIds.Count);
     var specification = new WorkflowInstanceIdsSpecification(workflowInstanceIds);
     await _workflowInstanceStore.DeleteManyAsync(specification, cancellationToken);
 }