Skip to content

Commit

Permalink
Fix non-compiling examples in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vrutberg authored Aug 18, 2017
1 parent 1c1d9c1 commit 87e3ee2
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 @@ -638,7 +638,7 @@ For example, if we have a signal that is created like
```swift
let someImage = SafeSignal<UIImage> { observer in
...
DispatchQueue.background.async {
DispatchQueue.global(qos: .background).async {
observer.next(someImage)
}
...
Expand Down Expand Up @@ -693,7 +693,7 @@ We would like to do the loading on another queue. We could dispatch async the lo

```swift
someData
.executeOn(.background)
.executeOn(DispatchQueue.global(qos: .background))
.observeOn(.main)
.observeNext { data in // does not block current thread
display(data)
Expand Down

0 comments on commit 87e3ee2

Please sign in to comment.