Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions Sources/Deprecations+Removals.swift
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ extension SignalProtocol {
public func skip(_ count: Int) -> Signal<Value, Error> { fatalError() }

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

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

@available(*, unavailable, renamed:"timeout(after:raising:on:)")
public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: SchedulerProtocol) -> Signal<Value, Error> { fatalError() }
public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: DateSchedulerProtocol) -> Signal<Value, Error> { 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() }
Expand All @@ -229,11 +229,14 @@ extension SignalProducerProtocol {
@available(*, unavailable, renamed:"skip(first:)")
public func skip(_ count: Int) -> SignalProducer<Value, Error> { fatalError() }

@available(*, unavailable, renamed:"retry(upTo:)")
public func retry(_ count: Int) -> SignalProducer<Value, Error> { fatalError() }

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

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

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

@available(*, unavailable, renamed:"timeout(after:raising:on:)")
public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: SchedulerProtocol) -> SignalProducer<Value, Error> { fatalError() }
public func timeoutWithError(_ error: Error, afterInterval: TimeInterval, onScheduler: DateSchedulerProtocol) -> SignalProducer<Value, Error> { 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() }
Expand Down