RxJava 2: Observable.concatWith variants for Single, Completable & Maybe.

Created on 17 May 2017  路  4Comments  路  Source: ReactiveX/RxJava

How do you guys feel about concatWith variants that take Single, Completable and Maybe. For now they could internally just use toObservable() and then maybe later receive custom implementations.

2.x Discussion

Most helpful comment

Use Kotlin?

All 4 comments

Another nice addition would be the mergeWith() as well. Given that this has received some upvotes would you consider adding those methods?

Use Kotlin?

I'm doing that right now however having custom implementations could improve performance since certain shortcuts can be taken. For instance knowing that Single can only emit once or error once unlike Observable / Flowable variants.

This can be closed now with #5845 & #5847

Was this page helpful?
0 / 5 - 0 ratings