public async Task Handle(WorkflowDefinitionRetracted notification, CancellationToken cancellationToken) => await _eventPublisher.PublishAsync(notification);
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);