Fixed print statements in GettingStarted.md (#2112)

A couple of print statements were missing. The print output should line up correctly with the code now.
This commit is contained in:
Michael Green 2020-01-09 07:35:36 +00:00 committed by Shai Mishali
parent 4e969fa385
commit 5864dee210

View File

@ -443,19 +443,28 @@ let subscription1 = counter
.subscribe(onNext: { n in
print("First \(n)")
})
print("Subscribed")
let subscription2 = counter
.subscribe(onNext: { n in
print("Second \(n)")
})
print("Subscribed")
Thread.sleep(forTimeInterval: 0.5)
subscription1.dispose()
print("Disposed")
Thread.sleep(forTimeInterval: 0.5)
subscription2.dispose()
print("Disposed")
print("Ended ----")
```