I have a Flowable that continuously emits items and never calls onError or onComplete. Now I have a Completable that I would like to merge with this Flowable so that when the Completable completes the Flowable calls onComplete. I cannot directly change the Flowable object that is given to me.
One issue I am having is that I would have used takeUntil on the Flowable however the Flowable may stop emitting items at any point and I would still like the Completable to be able to call onComplete.
Update:
Since we can do Completable.toFlowable() we are able to merge two Flowables. The issue is that I still cannot find a way to complete both when one completes.