Added changed '.subscribe' to '.subscribeNext' to alleviate error output in debug console.
This commit is contained in:
parent
d2eec7c478
commit
db62a3cf3f
|
|
@ -75,7 +75,7 @@ example("single with conditions") {
|
||||||
|
|
||||||
Observable.of("🐱", "🐰", "🐶", "🐸", "🐷", "🐵")
|
Observable.of("🐱", "🐰", "🐶", "🐸", "🐷", "🐵")
|
||||||
.single { $0 == "🔵" }
|
.single { $0 == "🔵" }
|
||||||
.subscribe { print($0) }
|
.subscribeNext { print($0) }
|
||||||
.addDisposableTo(disposeBag)
|
.addDisposableTo(disposeBag)
|
||||||
}
|
}
|
||||||
/*:
|
/*:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue