RxCombine icon indicating copy to clipboard operation
RxCombine copied to clipboard

Infallible.publisher should return AnyPublisher<Output, Never>

Open daleswift opened this issue 2 years ago • 2 comments

RxSwift Infallible cannot fail so the publisher type should also never fail. i.e. AnyPublisher<Output, Never>

daleswift avatar May 11 '22 05:05 daleswift

That's correct, RxCombine is pre-Infallible :) We just don't have the overloads, yet. Should be trivial to add. If you want to work on a PR it might speed things up.

freak4pc avatar May 11 '22 07:05 freak4pc

RxSwift Infallible cannot fail so the publisher type should also never fail. i.e. AnyPublisher<Output, Never>

ghost avatar Feb 03 '24 21:02 ghost