Skip to content

Commit 62251c8

Browse files
authored
Merge pull request #96 from ReactiveCocoa/update-removals
Update Deprecations+Removals.swift
2 parents d872761 + 5424f44 commit 62251c8

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Sources/Deprecations+Removals.swift

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ extension SignalProtocol {
179179
public func skip(_ count: Int) -> Signal<Value, Error> { fatalError() }
180180

181181
@available(*, unavailable, renamed:"observe(on:)")
182-
public func observeOn(_ scheduler: UIScheduler) -> Signal<Value, Error> { fatalError() }
182+
public func observeOn(_ scheduler: SchedulerProtocol) -> Signal<Value, Error> { fatalError() }
183183

184184
@available(*, unavailable, renamed:"combineLatest(with:)")
185185
public func combineLatestWith<S: SignalProtocol>(_ otherSignal: S) -> Signal<(Value, S.Value), Error> { fatalError() }
@@ -203,7 +203,7 @@ extension SignalProtocol {
203203
public func takeWhile(_ predicate: (Value) -> Bool) -> Signal<Value, Error> { fatalError() }
204204

205205
@available(*, unavailable, renamed:"timeout(after:raising:on:)")
206-
public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: SchedulerProtocol) -> Signal<Value, Error> { fatalError() }
206+
public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: DateSchedulerProtocol) -> Signal<Value, Error> { fatalError() }
207207

208208
@available(*, unavailable, message: "This Signal may emit errors which must be handled explicitly, or observed using `observeResult(_:)`")
209209
public func observeNext(_ next: (Value) -> Void) -> Disposable? { fatalError() }
@@ -229,11 +229,14 @@ extension SignalProducerProtocol {
229229
@available(*, unavailable, renamed:"skip(first:)")
230230
public func skip(_ count: Int) -> SignalProducer<Value, Error> { fatalError() }
231231

232+
@available(*, unavailable, renamed:"retry(upTo:)")
233+
public func retry(_ count: Int) -> SignalProducer<Value, Error> { fatalError() }
234+
232235
@available(*, unavailable, renamed:"observe(on:)")
233-
public func observeOn(_ scheduler: UIScheduler) -> SignalProducer<Value, Error> { fatalError() }
236+
public func observeOn(_ scheduler: SchedulerProtocol) -> SignalProducer<Value, Error> { fatalError() }
234237

235238
@available(*, unavailable, renamed:"start(on:)")
236-
public func startOn(_ scheduler: UIScheduler) -> SignalProducer<Value, Error> { fatalError() }
239+
public func startOn(_ scheduler: SchedulerProtocol) -> SignalProducer<Value, Error> { fatalError() }
237240

238241
@available(*, unavailable, renamed:"combineLatest(with:)")
239242
public func combineLatestWith<U>(_ otherProducer: SignalProducer<U, Error>) -> SignalProducer<(Value, U), Error> { fatalError() }
@@ -272,7 +275,7 @@ extension SignalProducerProtocol {
272275
public func takeWhile(_ predicate: (Value) -> Bool) -> SignalProducer<Value, Error> { fatalError() }
273276

274277
@available(*, unavailable, renamed:"timeout(after:raising:on:)")
275-
public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: SchedulerProtocol) -> SignalProducer<Value, Error> { fatalError() }
278+
public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: DateSchedulerProtocol) -> SignalProducer<Value, Error> { fatalError() }
276279

277280
@available(*, unavailable, message:"This SignalProducer may emit errors which must be handled explicitly, or observed using `startWithResult(_:)`.")
278281
public func startWithNext(_ next: (Value) -> Void) -> Disposable { fatalError() }

0 commit comments

Comments
 (0)