-
Notifications
You must be signed in to change notification settings - Fork 133
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
Combine Publisher needs back pressure management #42
Comments
I'm not opposed to simply pulling DemandBuffer from CombineExt into the project to deal with back pressure but I have to say that limiting demand for UI events is a highly unlikely use case. Do you have such a practical use case or are you more interested in the technical completeness ? Thanks |
If I have a subscriber with a request that is not unlimited, it is simply ignored. The use case would be starting fetches |
Thanks, I think you misunderstood what I'm asking. flatMap itself still respects back pressure so using the format you mentioned here shouldn't be affected by CombineCocoa to the best of my understanding. |
Closing for now. If you have additional details / context on this please let me know and I can reopen. Thank you! :) |
Issue created in response to #27
According to Apple Combine Subscriptions have to fulfill the contract between publishers and subscribers with backpressure management. This is discussed in the WWDC presentation https://developer.apple.com/videos/play/wwdc2019/722/
The UIControl Event publisher is missing handling of the subscriber's demand. This is so far simply ignored.
I would like to add the demand management
The text was updated successfully, but these errors were encountered: