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

Additional combine publisher extensions to support combining 5 publishers #1140

Open
heecheon92 opened this issue Oct 2, 2023 · 0 comments

Comments

@heecheon92
Copy link

Is your feature request related to a problem? Please describe.

Sometimes, it is necessary to observe values published from more than 4 events or publishers in which Apple's current implementation supports. Being able to handle five publishers alleviate situations where complex events need to be handled with latest values.

Describe the solution you'd like
Adding additional extension for "combineLatest" such that the function takes 4 additional publishers as parameter.

Describe alternatives you've considered
I have tried generic parameter pack introduces Swift 5.9 so that adding arbitrary numbers of publishers to combineLatest could be possible but the newly implemented feature does not yet support enough flexibility put generic constraint.

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

1 participant