Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infallible.publisher should return AnyPublisher<Output, Never> #34

Open
daleswift opened this issue May 11, 2022 · 2 comments
Open

Infallible.publisher should return AnyPublisher<Output, Never> #34

daleswift opened this issue May 11, 2022 · 2 comments

Comments

@daleswift
Copy link

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

@freak4pc
Copy link
Member

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.

@ghost
Copy link

ghost commented Feb 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants