Permalink
Browse files

Update a deprecated example in GettingStarted.md

  • Loading branch information...
noahsark769 authored and freak4pc committed Dec 12, 2018
1 parent c8a1420 commit 774276961d4d6e42fb3543e0340c2fe087ea4601
Showing with 1 addition and 1 deletion.
  1. +1 −1 Documentation/GettingStarted.md
@@ -379,7 +379,7 @@ func myInterval(_ interval: TimeInterval) -> Observable<Int> {
return Observable.create { observer in
print("Subscribed")
let timer = DispatchSource.makeTimerSource(queue: DispatchQueue.global())
timer.scheduleRepeating(deadline: DispatchTime.now() + interval, interval: interval)
timer.schedule(deadline: DispatchTime.now() + interval, repeating: interval)
let cancel = Disposables.create {
print("Disposed")

0 comments on commit 7742769

Please sign in to comment.