Skip to content

Commit

Permalink
Merge pull request #164 from vrutberg/master
Browse files Browse the repository at this point in the history
Fix non-compiling examples in README.md
  • Loading branch information
srdanrasic authored Aug 18, 2017
2 parents 1c1d9c1 + 87e3ee2 commit e68d326
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 e68d326

Please sign in to comment.