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