Change flatMapLatest example in Rx.playground to initially use flatMap

This commit is contained in:
Scott Gardner 2016-05-12 15:34:10 -05:00
parent 070139a4c4
commit ef62979f62
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ example("flatMap and flatMapLatest") {
let player = Variable(👦🏻)
player.asObservable()
.flatMapLatest { $0.score.asObservable() } // Change flatMap to flatMapLatest and observe change in printed output
.flatMap { $0.score.asObservable() } // Change flatMap to flatMapLatest and observe change in printed output
.subscribeNext { print($0) }
.addDisposableTo(disposeBag)