Skip to content

Add Flowables.combineLatest() and Flowables.zip() with additional parameters (2.x)#243

Open
SpaceBison wants to merge 1 commit intoReactiveX:2.xfrom
SpaceBison:feature/flowable-buffer-size-2.x
Open

Add Flowables.combineLatest() and Flowables.zip() with additional parameters (2.x)#243
SpaceBison wants to merge 1 commit intoReactiveX:2.xfrom
SpaceBison:feature/flowable-buffer-size-2.x

Conversation

@SpaceBison
Copy link
Copy Markdown

(This is PR #242 based on RxKotlin 2.x)

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