dematerialize && materialize
目录
dematerialize
1 dematerialize接口
<T2> Flowable<T2> |
dematerialize() Returns a Flowable that reverses the effect of 返回一个Flowable,它通过将Source Publisher发出的Notification对象转换为它们所代表的项目或通知来反转实现的效果。 |
2 dematerialize图解
这里使用了materialize的图解,
3 dematerialize测试用例
@Test
public void dematerialize() {
System.out.println("######dematerialize#####");
Notification onNext = Notification.createOnNext("onNext");
Notification onComplete = Notification.createOnComplete();
Flowable