Ejemplo n.º 1
0
 /// <summary>
 /// Mark a failed call through CircuitBreaker. Sometimes the callee of CircuitBreaker sends back a message to the
 /// caller Actor. In such a case, it is convenient to mark a failed call instead of using Future
 /// via <see cref="WithCircuitBreaker"/>
 /// </summary>
 public void Fail() => _currentState.CallFails();
Ejemplo n.º 2
0
 /// <summary>
 /// Mark a failed call through CircuitBreaker. Sometimes the callee of CircuitBreaker sends back a message to the
 /// caller Actor. In such a case, it is convenient to mark a failed call instead of using Future
 /// via <see cref="WithCircuitBreaker"/>
 /// </summary>
 public void Fail() => _currentState.CallFails(new UserCalledFailException());