public async Task Handle(WorkflowDefinitionRetracted notification, CancellationToken cancellationToken) => await _eventPublisher.PublishAsync(notification);
Example #2
0
 public async Task Handle(WorkflowDefinitionRetracted notification, CancellationToken cancellationToken)
 {
     var workflowDefinition = notification.WorkflowDefinition;
     await _triggerIndexer.DeleteTriggersAsync(workflowDefinition.DefinitionId, cancellationToken);
 }
 public Task Handle(WorkflowDefinitionRetracted notification, CancellationToken cancellationToken) => _workflowDefinitionScheduler.UnscheduleAsync(notification.WorkflowDefinition.DefinitionId, cancellationToken);