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