public Task Handle(WorkflowFaulted notification, CancellationToken cancellationToken)
 {
     notification.WorkflowExecutionContext.WorkflowInstance.FaultedAt = _clock.GetCurrentInstant();
     return(Task.CompletedTask);
 }
 public async Task Handle(WorkflowFaulted notification, CancellationToken cancellationToken)
 {
     await HandleTestWorkflowExecutionFinished(notification, cancellationToken);
 }
示例#3
0
 public Task Handle(WorkflowFaulted notification, CancellationToken cancellationToken)
 {
     return(HandleTesttWorkflowExecutionFinished(notification, cancellationToken));
 }
示例#4
0
 public async Task Handle(WorkflowFaulted notification, CancellationToken cancellationToken) => await SaveWorkflowAsync(notification.WorkflowExecutionContext.WorkflowInstance, cancellationToken);