测试
This commit is contained in:
parent
c50667380a
commit
8cb8f43756
@ -157,7 +157,8 @@ public class RxJavaStudyStarterTest {
|
|||||||
Thread.sleep(200);
|
Thread.sleep(200);
|
||||||
emitter.onNext("World");
|
emitter.onNext("World");
|
||||||
emitter.onComplete();
|
emitter.onComplete();
|
||||||
}, BackpressureStrategy.LATEST);
|
}, BackpressureStrategy.LATEST)
|
||||||
|
.subscribeOn(Schedulers.io());
|
||||||
|
|
||||||
// 缓存数据
|
// 缓存数据
|
||||||
observable = observable.cacheWithInitialCapacity(1);
|
observable = observable.cacheWithInitialCapacity(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user