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

Remove exact buffer/window with Supplier<source>? #6555

Closed
akarnokd opened this issue Jul 3, 2019 · 0 comments · Fixed by #6564
Closed

Remove exact buffer/window with Supplier<source>? #6555

akarnokd opened this issue Jul 3, 2019 · 0 comments · Fixed by #6564
Milestone

Comments

@akarnokd
Copy link
Member

akarnokd commented Jul 3, 2019

There exist special overloads of the exact-boundary buffer/window operators that takes a supplier of a source. (Example JavaDocs).

This supplier is called over and over once the previous boundary signaled an item or completed.

I'm not sure if this type of boundary was in use at all. It can be emulated with the plain sourced versiong:

source.buffer(Observable.defer(supplier).take(1).repeat())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant