目录
ambWith
Flowable<T> |
镜像首先发射项目或终止通知的Publisher |
ambWith图解
ambWith测试用例
测试代码
private void ambWith() {
Flowable flowable = Flowable.just("instance");
System.out.println("原始Publisher的hashCode" +flowable.hashCode());
Flowable mirroring = flowable.ambWith(flowable);
System.out.println("镜像Publisher的hashCode" +mirroring.hashCode());
}
测试结果:
10-