Click or drag to resize
Akka.NETCircuitBreakerWithSyncCircuitBreaker Method
Overload List
  NameDescription
Public methodWithSyncCircuitBreaker(Action)
The failure will be recorded farther down.
Public methodWithSyncCircuitBreakerT(FuncT)
Wraps invocations of asynchronous calls that need to be protected If this does not complete within the time allotted, it should return default(T)
Await.result(
    withCircuitBreaker(try Future.successful(body) catch { case NonFatal(t) ⇒ Future.failed(t) }),
    callTimeout)
Top
See Also