Skip to content

Commit

Permalink
Removed blocking code from example
Browse files Browse the repository at this point in the history
  • Loading branch information
johanhaleby committed Sep 7, 2018
1 parent baedde8 commit 8eb3f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Kystrix is a small DSL that makes working with [Hystrix](https://github.com/Netf
For example:

```kotlin
val greeting = hystrixObservableCommand<Greeting> {
val greetingObservable = hystrixObservableCommand<Greeting> {
groupKey("Test")
commandKey("Test-Command")
command {
Expand All @@ -17,7 +17,7 @@ val greeting = hystrixObservableCommand<Greeting> {
withExecutionIsolationSemaphoreMaxConcurrentRequests(3)
withFallbackEnabled(false)
}
}.toBlocking().first()
}
```

This is a work in progress!

0 comments on commit 8eb3f38

Please sign in to comment.