Needed to add print statement in order to see what was coming from sequenceInt
This commit is contained in:
parent
901933454c
commit
c7aa8607b9
|
|
@ -44,8 +44,9 @@ example("flatMap") {
|
|||
let sequenceString = Observable.of("A", "B", "C", "D", "E", "F", "--")
|
||||
|
||||
_ = sequenceInt
|
||||
.flatMap { int in
|
||||
sequenceString
|
||||
.flatMap { (x:Int) -> Observable<String> in
|
||||
print("from sequenceInt \(x)")
|
||||
return sequenceString
|
||||
}
|
||||
.subscribe {
|
||||
print($0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue