RxJava; How to emit observables synchronously

后端 未结 4 1129
不知归路
不知归路 2021-01-11 14:33

I want to synchronously emit two Observable objects (which are asynchronous), one after the other where it returns the first emitted Observable object. If the first

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-11 14:59

    You can also use rx.observables.BlockingObservable e.g.:

    BlockingObservable.from(/**/).single();
    

提交回复
热议问题