=doc #3689 Don't rewrite arrows in doc and samples
This commit is contained in:
parent
37f8f2831b
commit
5a019c0a7a
61 changed files with 531 additions and 517 deletions
|
|
@ -35,9 +35,9 @@ class DangerousActor extends Actor with ActorLogging {
|
|||
def dangerousCall: String = "This really isn't that dangerous of a call after all"
|
||||
|
||||
def receive = {
|
||||
case "is my middle name" ⇒
|
||||
case "is my middle name" =>
|
||||
breaker.withCircuitBreaker(Future(dangerousCall)) pipeTo sender
|
||||
case "block for me" ⇒
|
||||
case "block for me" =>
|
||||
sender ! breaker.withSyncCircuitBreaker(dangerousCall)
|
||||
}
|
||||
//#circuit-breaker-usage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue