| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
8年前发布

RxJava v2.0.7 发布,一个实现异步操作的库

   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/27e89a5a287f2aa133ed68e1e8b7e831.png" /></strong></p>    <p> </p>    <p>RxJava一个在 Java VM 上使用可观测的序列来组成异步的、基于事件的程序的库。说到根上,它就是一个实现异步操作的库,而别的定语都是基于这之上的。同样是做异步,为什么人们用它,而不用现成的 AsyncTask / Handler / XXX / ... ?,原因是RxJava简洁,异步操作很关键的一点是程序的简洁性,因为在调度过程比较复杂的情况下,异步代码经常会既难写也难被读懂。 Android 创造的 AsyncTask 和Handler ,其实都是为了让异步代码更加简洁。RxJava 的优势也是简洁,但它的简洁的与众不同之处在于,随着程序逻辑变得越来越复杂,它依然能够保持简洁。</p>    <p style="text-align: center;"><a href="https://simg.open-open.com/show/590895c0b975a817143b0f53b870e71b.jpg"><img alt="" src="https://simg.open-open.com/show/590895c0b975a817143b0f53b870e71b.jpg" /></a></p>    <p style="text-align: center;"><a href="https://simg.open-open.com/show/039f09fd6005089241137560455ed074.png"><img alt="" src="https://simg.open-open.com/show/039f09fd6005089241137560455ed074.png" /></a></p>    <h2>更新日志</h2>    <ul>     <li><a href="/misc/goto?guid=4959001748808931436">Pull 5117</a>: Add <code>ParallelFlowable.sequentialDelayError</code>.</li>     <li><a href="/misc/goto?guid=4959001748929157931">Pull 5137</a>: Add <code>TestSubscriber.withTag</code>.</li>     <li><a href="/misc/goto?guid=4959001749032162321">Pull 5140</a>: Fix timed replay-like components replaying outdated items.</li>     <li><a href="/misc/goto?guid=4959001749144793777">Pull 5155</a>: Add <code>TestSubscriber.awaitCount</code>, <code>assertTimeout</code> & <code>assertNoTimeout</code>, improve assertion error message</li>     <li><a href="/misc/goto?guid=4959001749250487882">Pull 5112</a>: <code>Flowable.strict()</code> deprecated and will be removed in 2.1.0 - the default <code>Flowable</code> behavior is now strict.</li>    </ul>    <p><strong>Bug修复</strong></p>    <ul>     <li><a href="/misc/goto?guid=4959001749385455228">Pull 5101</a>: Fix <code>Maybe.concat()</code> subscribe-after-cancel, verify others.</li>     <li><a href="/misc/goto?guid=4959001749494151035">Pull 5103</a>: Fix <code>doOnSubscribe</code> signalling <code>UndeliverableException</code> instead of <code>onError</code>.</li>     <li><a href="/misc/goto?guid=4959001749608645403">Pull 5106</a>: Fix <code>window(time, size)</code> not completing windows on timeout.</li>     <li><a href="/misc/goto?guid=4959001749715680448">Pull 5114</a>: Fix <code>Observable.combineLatest</code> to dispose eagerly.</li>     <li><a href="/misc/goto?guid=4959001749820510721">Pull 5121</a>: Fix <code>Observable.zip</code> to dispose eagerly.</li>     <li><a href="/misc/goto?guid=4959001749936981208">Pull 5133</a>: Fix <code>flatMap</code> not cancelling the upstream eagerly.</li>     <li><a href="/misc/goto?guid=4959001750084612302">Pull 5136</a>: Fix <code>repeatWhen</code> and <code>retryWhen</code> signatures.</li>    </ul>    <p><strong>其他</strong></p>    <ul>     <li><a href="/misc/goto?guid=4959001750212343309">Pull 5102</a>: Added missing <code>@NonNull</code> attribute to <code>Function7</code>.</li>     <li><a href="/misc/goto?guid=4959001749250487882">Pull 5112</a>: <code>Flowable</code> as a <code>Publisher</code> to be fully RS compliant.</li>     <li><a href="/misc/goto?guid=4959001750356438698">Pull 5127</a>: Update javadoc of <code>flatMap()</code> overloads.</li>     <li><a href="/misc/goto?guid=4959001750486586912">Pull 5153</a>: Java 9 compatibility fixes</li>     <li><a href="/misc/goto?guid=4959001750612721192">Pull 5156</a>: Add <code>@NonNull</code> to the methods of <code>Emitter</code></li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4959001750746072985" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4959001750876432539" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view297f37e0">http://www.open-open.com/news/view297f37e0</a></p>