diff --git a/Sources/Deprecations+Removals.swift b/Sources/Deprecations+Removals.swift index f83fbd099..b1e355ef8 100644 --- a/Sources/Deprecations+Removals.swift +++ b/Sources/Deprecations+Removals.swift @@ -179,7 +179,7 @@ extension SignalProtocol { public func skip(_ count: Int) -> Signal { fatalError() } @available(*, unavailable, renamed:"observe(on:)") - public func observeOn(_ scheduler: UIScheduler) -> Signal { fatalError() } + public func observeOn(_ scheduler: SchedulerProtocol) -> Signal { fatalError() } @available(*, unavailable, renamed:"combineLatest(with:)") public func combineLatestWith(_ otherSignal: S) -> Signal<(Value, S.Value), Error> { fatalError() } @@ -203,7 +203,7 @@ extension SignalProtocol { public func takeWhile(_ predicate: (Value) -> Bool) -> Signal { fatalError() } @available(*, unavailable, renamed:"timeout(after:raising:on:)") - public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: SchedulerProtocol) -> Signal { fatalError() } + public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: DateSchedulerProtocol) -> Signal { fatalError() } @available(*, unavailable, message: "This Signal may emit errors which must be handled explicitly, or observed using `observeResult(_:)`") public func observeNext(_ next: (Value) -> Void) -> Disposable? { fatalError() } @@ -229,11 +229,14 @@ extension SignalProducerProtocol { @available(*, unavailable, renamed:"skip(first:)") public func skip(_ count: Int) -> SignalProducer { fatalError() } + @available(*, unavailable, renamed:"retry(upTo:)") + public func retry(_ count: Int) -> SignalProducer { fatalError() } + @available(*, unavailable, renamed:"observe(on:)") - public func observeOn(_ scheduler: UIScheduler) -> SignalProducer { fatalError() } + public func observeOn(_ scheduler: SchedulerProtocol) -> SignalProducer { fatalError() } @available(*, unavailable, renamed:"start(on:)") - public func startOn(_ scheduler: UIScheduler) -> SignalProducer { fatalError() } + public func startOn(_ scheduler: SchedulerProtocol) -> SignalProducer { fatalError() } @available(*, unavailable, renamed:"combineLatest(with:)") public func combineLatestWith(_ otherProducer: SignalProducer) -> SignalProducer<(Value, U), Error> { fatalError() } @@ -272,7 +275,7 @@ extension SignalProducerProtocol { public func takeWhile(_ predicate: (Value) -> Bool) -> SignalProducer { fatalError() } @available(*, unavailable, renamed:"timeout(after:raising:on:)") - public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: SchedulerProtocol) -> SignalProducer { fatalError() } + public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: DateSchedulerProtocol) -> SignalProducer { fatalError() } @available(*, unavailable, message:"This SignalProducer may emit errors which must be handled explicitly, or observed using `startWithResult(_:)`.") public func startWithNext(_ next: (Value) -> Void) -> Disposable { fatalError() }