Пример #1
0
 Task INotificationHandler <WorkflowDefinitionSaved> .Handle(WorkflowDefinitionSaved notification, CancellationToken cancellationToken)
 {
     _signal.Trigger(CacheKey);
     return(Task.CompletedTask);
 }
 public Task Handle(WorkflowDefinitionStoreUpdated notification, CancellationToken cancellationToken)
 {
     signal.Trigger(WorkflowRegistry.CacheKey);
     return(Task.CompletedTask);
 }