Skip to content

Add Flowables.combineLatest() and Flowables.zip() with additional parameters (3.x)#242

Open
SpaceBison wants to merge 1 commit into
ReactiveX:3.xfrom
SpaceBison:feature/flowable-buffer-size
Open

Add Flowables.combineLatest() and Flowables.zip() with additional parameters (3.x)#242
SpaceBison wants to merge 1 commit into
ReactiveX:3.xfrom
SpaceBison:feature/flowable-buffer-size

Conversation

@SpaceBison

Copy link
Copy Markdown

This PR adds new functions to Flowables :

  • Flowables.combineLatest variants that take bufferSize parameter
  • Flowables.zip variants that take delayError and bufferSize parameters

The parameters have been rearranged to make use of default parameter values and lambda syntax.

Usage example:

Flowables.combineLatest(Flowable.just(1), Flowable.just(2), bufferSize = 4) { i1, i2 -> i1 + i2 }

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

Successfully merging this pull request may close these issues.

1 participant