language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
ReactiveX
RxJava
a008e03484177f48ec7fef4c311705bb43fd8ec9.json
2.x: Improve Completable.onErrorResumeNext internals (#6123) * 2.x: Improve Completable.onErrorResumeNext internals * Use ObjectHelper
src/main/java/io/reactivex/internal/operators/completable/CompletableResumeNext.java
@@ -13,11 +13,14 @@ package io.reactivex.internal.operators.completable; +import java.util.concurrent.atomic.AtomicReference; + import io.reactivex.*; import io.reactivex.disposables.Disposable; import io.reactivex.exceptions.*; import io.reactivex.functions.Function; -import io.reactivex.internal.disposables....
true
Other
ReactiveX
RxJava
a008e03484177f48ec7fef4c311705bb43fd8ec9.json
2.x: Improve Completable.onErrorResumeNext internals (#6123) * 2.x: Improve Completable.onErrorResumeNext internals * Use ObjectHelper
src/test/java/io/reactivex/completable/CompletableTest.java
@@ -2170,8 +2170,11 @@ public Completable apply(Throwable e) { try { c.blockingAwait(); Assert.fail("Did not throw an exception"); - } catch (NullPointerException ex) { - Assert.assertTrue(ex.getCause() instanceof TestException); + } catch (CompositeException ...
true
Other
ReactiveX
RxJava
a008e03484177f48ec7fef4c311705bb43fd8ec9.json
2.x: Improve Completable.onErrorResumeNext internals (#6123) * 2.x: Improve Completable.onErrorResumeNext internals * Use ObjectHelper
src/test/java/io/reactivex/internal/operators/completable/CompletableResumeNextTest.java
@@ -0,0 +1,61 @@ +/** + * Copyright (c) 2016-present, RxJava Contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unles...
true
Other
ReactiveX
RxJava
8b9740840f21d131595dac2115241b1f739b03f2.json
2.x: Fix aspect of some Completable marbles.
src/main/java/io/reactivex/Completable.java
@@ -511,7 +511,7 @@ public static <T> Completable fromObservable(final ObservableSource<T> observabl * Returns a Completable instance that subscribes to the given publisher, ignores all values and * emits only the terminal event. * <p> - * <img width="640" height="442" src="https://raw.github.com/...
false
Other
ReactiveX
RxJava
382ba69afe6fdaab90682f9d37c32b4f538bb5c0.json
2.x: Add missing Completable marbles (+19, 07/19a) (#6097)
src/main/java/io/reactivex/Completable.java
@@ -1283,6 +1283,8 @@ public final Completable compose(CompletableTransformer transformer) { /** * Concatenates this Completable with another Completable. + * <p> + * <img width="640" height="317" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.concatWith.png" alt=...
false
Other
ReactiveX
RxJava
27c63b6a4c2074657aed4e7ee6e39a52173bbed5.json
2.x: Improve Completable.delay operator internals (#6096)
src/main/java/io/reactivex/internal/operators/completable/CompletableDelay.java
@@ -14,9 +14,11 @@ package io.reactivex.internal.operators.completable; import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicReference; import io.reactivex.*; -import io.reactivex.disposables.*; +import io.reactivex.disposables.Disposable; +import io.reactivex.internal.disposables.Disp...
true
Other
ReactiveX
RxJava
27c63b6a4c2074657aed4e7ee6e39a52173bbed5.json
2.x: Improve Completable.delay operator internals (#6096)
src/test/java/io/reactivex/internal/operators/completable/CompletableDelayTest.java
@@ -13,17 +13,18 @@ package io.reactivex.internal.operators.completable; -import java.util.concurrent.CountDownLatch; -import java.util.concurrent.TimeUnit; +import static org.junit.Assert.assertNotEquals; + +import java.util.concurrent.*; import java.util.concurrent.atomic.AtomicReference; -import io.reactivex...
true
Other
ReactiveX
RxJava
1aeac067ae3c9844f77d264e47de6a31f3eb1a53.json
Add marbles for Single.amb operators (#6091)
src/main/java/io/reactivex/Single.java
@@ -116,6 +116,8 @@ /** * Runs multiple SingleSources and signals the events of the first one that signals (cancelling * the rest). + * <p> + * <img width="640" height="515" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.amb.png" alt=""> * <dl> * <dt><b...
false
Other
ReactiveX
RxJava
4a744153e9cea4e32f4c88bc49893e0b13b85359.json
2.x: Add missing Completable marbles (07/18a) (#6090)
src/main/java/io/reactivex/Completable.java
@@ -903,6 +903,8 @@ private static NullPointerException toNpe(Throwable ex) { * Returns a Completable instance which manages a resource along * with a custom Completable instance while the subscription is active. * <p> + * <img width="640" height="388" src="https://raw.github.com/wiki/ReactiveX/Rx...
false
Other
ReactiveX
RxJava
396f2f6d15a52e5c79d0ee7b4dcfb62f6a8029b7.json
Add marbles for Single.from operators (#6087)
src/main/java/io/reactivex/Single.java
@@ -554,6 +554,8 @@ public static <T> Single<T> error(final Throwable exception) { * Allows you to defer execution of passed function until SingleObserver subscribes to the {@link Single}. * It makes passed function "lazy". * Result of the function invocation will be emitted by the {@link Single}. + ...
false
Other
ReactiveX
RxJava
97ebd2c0ba3d1505631b844d2ff5000944be2ae6.json
Add marble diagram for Single.repeatUntil operator (#6084) * Add marble diagram for Single.repeatUntil operator * Use proper URL for marble
src/main/java/io/reactivex/Single.java
@@ -3119,6 +3119,8 @@ public final Flowable<T> repeatWhen(Function<? super Flowable<Object>, ? extends /** * Re-subscribes to the current Single until the given BooleanSupplier returns true. + * <p> + * <img width="640" height="463" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operat...
false
Other
ReactiveX
RxJava
c8bcb3c92bebde39616597bd46ddb93d6f0f6e18.json
Add marble diagrams for Single.repeat operators (#6081) * Add marble diagrams for Single.repeat operators * Use correct marble diagram URLs
src/main/java/io/reactivex/Single.java
@@ -3051,6 +3051,8 @@ public final Single<T> onTerminateDetach() { /** * Repeatedly re-subscribes to the current Single and emits each success value. + * <p> + * <img width="640" height="457" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.repeat.png" alt=""> * <d...
false
Other
ReactiveX
RxJava
53dd15fcb5c3e154b58ecb1768732d55aa49f5c9.json
2.x: Add Completable marble diagrams (07/17a) (#6083)
src/main/java/io/reactivex/Completable.java
@@ -106,6 +106,8 @@ public abstract class Completable implements CompletableSource { /** * Returns a Completable which terminates as soon as one of the source Completables * terminates (normally or with an error) and cancels all other Completables. + * <p> + * <img width="640" height="518" src=...
false
Other
ReactiveX
RxJava
d4c1da01b157262b326b21cd97a844fcdedc7c6e.json
Add marble diagram for Single.hide operator (#6077) * Add marble diagram for Single.hide operator * Use correct marble diagram URL for Single.hide method
src/main/java/io/reactivex/Single.java
@@ -1877,6 +1877,8 @@ public final <R> R as(@NonNull SingleConverter<T, ? extends R> converter) { /** * Hides the identity of the current Single, including the Disposable that is sent * to the downstream via {@code onSubscribe()}. + * <p> + * <img width="640" height="458" src="https://raw.githu...
false
Other
ReactiveX
RxJava
7e301d44d6dee9dce12f5417b41134f3a9eda12f.json
2.x: Add Completable.takeUntil(Completable) operator (#6079)
src/main/java/io/reactivex/Completable.java
@@ -2031,6 +2031,32 @@ public final Completable subscribeOn(final Scheduler scheduler) { return RxJavaPlugins.onAssembly(new CompletableSubscribeOn(this, scheduler)); } + /** + * Terminates the downstream if this or the other {@code Completable} + * terminates (wins the termination race) whil...
true
Other
ReactiveX
RxJava
7e301d44d6dee9dce12f5417b41134f3a9eda12f.json
2.x: Add Completable.takeUntil(Completable) operator (#6079)
src/main/java/io/reactivex/internal/operators/completable/CompletableTakeUntilCompletable.java
@@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016-present, RxJava Contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unle...
true
Other
ReactiveX
RxJava
7e301d44d6dee9dce12f5417b41134f3a9eda12f.json
2.x: Add Completable.takeUntil(Completable) operator (#6079)
src/test/java/io/reactivex/internal/operators/completable/CompletableTakeUntilTest.java
@@ -0,0 +1,235 @@ +/** + * Copyright (c) 2016-present, RxJava Contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unle...
true
Other
ReactiveX
RxJava
fd76594dc7e19d4da889613f2d9afdf6043879b9.json
Add marble diagrams to the Single.delay method (#6076) * Add marble diagrams to the Single.delay method * Update marbles for Single.delay with error events * Use correct marble diagram URLs for Single.delay methods
src/main/java/io/reactivex/Single.java
@@ -1980,6 +1980,8 @@ public final Flowable<T> concatWith(SingleSource<? extends T> other) { /** * Delays the emission of the success signal from the current Single by the specified amount. * An error signal will not be delayed. + * <p> + * <img width="640" height="457" src="https://raw.github....
false
Other
ReactiveX
RxJava
e51cf16db0d9d100da09476aa0dab5b1c3c35de8.json
2.x: Add Maybe.hide() marble diagram (#6078)
src/main/java/io/reactivex/Maybe.java
@@ -3090,6 +3090,8 @@ public final Completable flatMapCompletable(final Function<? super T, ? extends /** * Hides the identity of this Maybe and its Disposable. + * <p> + * <img width="640" height="300" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.hide.png" alt=""> ...
false
Other
ReactiveX
RxJava
c8a98520ee38152d8acce56bdb0a9e9127ccf7cc.json
Add marble diagram to the Single.filter method (#6075) * Add marble diagram to the Single.filter method * Use correct marble diagram URL for Single.filter method
src/main/java/io/reactivex/Single.java
@@ -2373,7 +2373,7 @@ public final Single<T> doOnDispose(final Action onDispose) { * Filters the success item of the Single via a predicate function and emitting it if the predicate * returns true, completing otherwise. * <p> - * <img width="640" height="310" src="https://raw.github.com/wiki/React...
false
Other
ReactiveX
RxJava
e29b57b666954d37129da17430e592631ff17a79.json
Add marble diagram to the Single.never method (#6074) * Add marble diagram to the Single.never method * Use correct marble diagram URL for Single.never method
src/main/java/io/reactivex/Single.java
@@ -1162,6 +1162,8 @@ public static <T> Flowable<T> mergeDelayError( /** * Returns a singleton instance of a never-signalling Single (only calls onSubscribe). + * <p> + * <img width="640" height="244" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.never.png" alt=""> ...
false
Other
ReactiveX
RxJava
6b07923f2c51d76c45e3879f9c7b9d9ed9ccfb93.json
Fix links for Single class (#6066) * Change observable.html to single.html * Delete completable.html link which doesn't exist
src/main/java/io/reactivex/Single.java
@@ -51,7 +51,7 @@ * <p> * <img width="640" height="301" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.legend.png" alt=""> * <p> - * For more information see the <a href="http://reactivex.io/documentation/observable.html">ReactiveX + * For more information see the <a href="http://rea...
false
Other
ReactiveX
RxJava
27ce955dfc9b2457ae09cdbbe3c9a0542c5eb2a6.json
2.x: Fix Javadoc warnings on empty <p>
src/main/java/io/reactivex/Flowable.java
@@ -5481,7 +5481,7 @@ public final T blockingFirst(T defaultItem) { * <em>Note:</em> the method will only return if the upstream terminates or the current * thread is interrupted. * <p> - * <p>This method executes the {@code Consumer} on the current thread while + * This method executes the {@...
true
Other
ReactiveX
RxJava
27ce955dfc9b2457ae09cdbbe3c9a0542c5eb2a6.json
2.x: Fix Javadoc warnings on empty <p>
src/main/java/io/reactivex/Observable.java
@@ -5027,7 +5027,7 @@ public final T blockingFirst(T defaultItem) { * <em>Note:</em> the method will only return if the upstream terminates or the current * thread is interrupted. * <p> - * <p>This method executes the {@code Consumer} on the current thread while + * This method executes the {@...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Additional-Reading.md
@@ -0,0 +1,50 @@ +(A more complete and up-to-date list of resources can be found at the reactivex.io site: [[http://reactivex.io/tutorials.html]]) + +# Introducing Reactive Programming +* [Introduction to Rx](http://www.introtorx.com/): a free, on-line book by Lee Campbell +* [The introduction to Reactive Programming y...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Alphabetical-List-of-Observable-Operators.md
@@ -0,0 +1,250 @@ +* **`aggregate( )`** — _see [**`reduce( )`**](Mathematical-and-Aggregate-Operators#reduce)_ +* [**`all( )`**](Conditional-and-Boolean-Operators#all) — determine whether all items emitted by an Observable meet some criteria +* [**`amb( )`**](Conditional-and-Boolean-Operators#amb) — given two or more s...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Async-Operators.md
@@ -0,0 +1,11 @@ +The following operators are part of the distinct `rxjava-async` module. They are used to convert synchronous methods into Observables. + +* [**`start( )`**](http://reactivex.io/documentation/operators/start.html) — create an Observable that emits the return value of a function +* [**`toAsync( )` or `a...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Backpressure-(2.0).md
@@ -0,0 +1,503 @@ +*Originally contributed to [StackOverflow Documentation](https://stackoverflow.com/documentation/rx-java/2341/backpressure) (going [defunct](https://meta.stackoverflow.com/questions/354217/sunsetting-documentation/)) by [@akarnokd](https://github.com/akarnokd), revised for version 2.x.* + +# Introduc...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Backpressure.md
@@ -0,0 +1,175 @@ +# Introduction + +In RxJava it is not difficult to get into a situation in which an Observable is emitting items more rapidly than an operator or subscriber can consume them. This presents the problem of what to do with such a growing backlog of unconsumed items. + +For example, imagine using the [`...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Blocking-Observable-Operators.md
@@ -0,0 +1,49 @@ +This section explains the [`BlockingObservable`](http://reactivex.io/RxJava/javadoc/rx/observables/BlockingObservable.html) subclass. A Blocking Observable extends the ordinary Observable class by providing a set of operators on the items emitted by the Observable that block. + +To transform an `Obser...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Combining-Observables.md
@@ -0,0 +1,12 @@ +This section explains operators you can use to combine multiple Observables. + +* [**`startWith( )`**](http://reactivex.io/documentation/operators/startwith.html) — emit a specified sequence of items before beginning to emit the items from the Observable +* [**`merge( )`**](http://reactivex.io/documen...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Conditional-and-Boolean-Operators.md
@@ -0,0 +1,21 @@ +This section explains operators with which you conditionally emit or transform Observables, or can do boolean evaluations of them: + +### Conditional Operators +* [**`amb( )`**](http://reactivex.io/documentation/operators/amb.html) — given two or more source Observables, emits all of the items from th...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Connectable-Observable-Operators.md
@@ -0,0 +1,75 @@ +This section explains the [`ConnectableObservable`](http://reactivex.io/RxJava/javadoc/rx/observables/ConnectableObservable.html) subclass and its operators: + +* [**`ConnectableObservable.connect( )`**](http://reactivex.io/documentation/operators/connect.html) — instructs a Connectable Observable to ...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Creating-Observables.md
@@ -0,0 +1,13 @@ +This page shows methods that create Observables. + +* [**`just( )`**](http://reactivex.io/documentation/operators/just.html) — convert an object or several objects into an Observable that emits that object or those objects +* [**`from( )`**](http://reactivex.io/documentation/operators/from.html) — con...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Error-Handling-Operators.md
@@ -0,0 +1,14 @@ +There are a variety of operators that you can use to react to or recover from `onError` notifications from Observables. For example, you might: + +1. swallow the error and switch over to a backup Observable to continue the sequence +1. swallow the error and emit a default item +1. swallow the error an...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Error-Handling.md
@@ -0,0 +1,24 @@ +An Observable typically does not _throw_ exceptions. Instead it notifies any observers that an unrecoverable error has occurred by terminating the Observable sequence with an `onError` notification. + +There are some exceptions to this. For example, if the `onError()` call _itself_ fails, the Observab...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Filtering-Observables.md
@@ -0,0 +1,22 @@ +This page shows operators you can use to filter and select items emitted by Observables. + +* [**`filter( )`**](http://reactivex.io/documentation/operators/filter.html) — filter items emitted by an Observable +* [**`takeLast( )`**](http://reactivex.io/documentation/operators/takelast.html) — only emit...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Getting-Started.md
@@ -0,0 +1,141 @@ +## Getting Binaries + +You can find binaries and dependency information for Maven, Ivy, Gradle, SBT, and others at [http://search.maven.org](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.reactivex%22%20AND%20a%3A%22rxjava%22). + +Example for Maven: + +```xml +<dependency> + <groupId>io.reac...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Home.md
@@ -0,0 +1,24 @@ +RxJava is a Java VM implementation of [ReactiveX (Reactive Extensions)](https://reactivex.io): a library for composing asynchronous and event-based programs by using observable sequences. + +For more information about ReactiveX, see the [Introduction to ReactiveX](http://reactivex.io/intro.html) page....
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/How-To-Use-RxJava.md
@@ -0,0 +1,400 @@ +# Hello World! + +The following sample implementations of “Hello World” in Java, Groovy, Clojure, and Scala create an Observable from a list of Strings, and then subscribe to this Observable with a method that prints “Hello _String_!” for each string emitted by the Observable. + +You can find additio...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/How-to-Contribute.md
@@ -0,0 +1,41 @@ +RxJava is still a work in progress and has a long list of work documented in the [[Issues|https://github.com/ReactiveX/RxJava/issues]]. + + +If you wish to contribute we would ask that you: +- read [[Rx Design Guidelines|http://blogs.msdn.com/b/rxteam/archive/2010/10/28/rx-design-guidelines.aspx]] +- ...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Implementing-Your-Own-Operators.md
@@ -0,0 +1,114 @@ +You can implement your own Observable operators. This page shows you how. + +If your operator is designed to *originate* an Observable, rather than to transform or react to a source Observable, use the [`create( )`](http://reactivex.io/documentation/operators/create.html) method rather than trying to...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Implementing-custom-operators-(draft).md
@@ -0,0 +1,508 @@ +# Introduction + +RxJava features over 100 operators to support the most common reactive dataflow patterns. Generally, there exist a combination of operators, typically `flatMap`, `defer` and `publish`, that allow composing less common patterns with standard guarantees. When you have an uncommon patt...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Mathematical-and-Aggregate-Operators.md
@@ -0,0 +1,25 @@ +This page shows operators that perform mathematical or other operations over an entire sequence of items emitted by an Observable. Because these operations must wait for the source Observable to complete emitting items before they can construct their own emissions (and must usually buffer these items)...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Observable-Utility-Operators.md
@@ -0,0 +1,28 @@ +This page lists various utility operators for working with Observables. + +* [**`materialize( )`**](http://reactivex.io/documentation/operators/materialize-dematerialize.html) — convert an Observable into a list of Notifications +* [**`dematerialize( )`**](http://reactivex.io/documentation/operators/m...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Observable.md
@@ -0,0 +1,3 @@ +In RxJava an object that implements the _Observer_ interface _subscribes_ to an object of the _Observable_ class. Then that subscriber reacts to whatever item or sequence of items the Observable object _emits_. This pattern facilitates concurrent operations because it does not need to block while waiti...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Parallel-flows.md
@@ -0,0 +1,33 @@ +# Introduction + +Version 2.0.5 introduced the `ParallelFlowable` API that allows parallel execution of a few select operators such as `map`, `filter`, `concatMap`, `flatMap`, `collect`, `reduce` and so on. Note that is a **parallel mode** for `Flowable` (a sub-domain specific language) instead of a n...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Phantom-Operators.md
@@ -0,0 +1,166 @@ +These operators have been proposed but are not part of the 1.0 release of RxJava. + +* [**`chunkify( )`**](Phantom-Operators#chunkify) — returns an iterable that periodically returns a list of items emitted by the source Observable since the last list +* [**`fromFuture( )`**](Phantom-Operators#fromfu...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Plugins.md
@@ -0,0 +1,171 @@ +Plugins allow you to modify the default behavior of RxJava in several respects: + +* by changing the set of default computation, i/o, and new thread Schedulers +* by registering a handler for extraordinary errors that RxJava may encounter +* by registering functions that can take note of the occurren...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Problem-Solving-Examples-in-RxJava.md
@@ -0,0 +1,80 @@ +This page will present some elementary RxJava puzzles and walk through some solutions (using the Groovy language implementation of RxJava) as a way of introducing you to some of the RxJava operators. + +# Project Euler problem #1 + +There used to be a site called "Project Euler" that presented a serie...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/README.md
@@ -0,0 +1,24 @@ +RxJava is a Java VM implementation of [ReactiveX (Reactive Extensions)](https://reactivex.io): a library for composing asynchronous and event-based programs by using observable sequences. + +For more information about ReactiveX, see the [Introduction to ReactiveX](http://reactivex.io/intro.html) page....
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Reactive-Streams.md
@@ -0,0 +1,121 @@ +# Reactive Streams + RxJava + +[Reactive Streams](https://github.com/reactive-streams/reactive-streams-jvm/) has been a [collaborative effort](https://medium.com/@viktorklang/reactive-streams-1-0-0-interview-faaca2c00bec) to standardize the protocol for asynchronous streams on the JVM. The RxJava tea...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Scheduler.md
@@ -0,0 +1,3 @@ +If you want to introduce multithreading into your cascade of Observable operators, you can do so by instructing those operators (or particular Observables) to operate on particular Schedulers. + +For more information about Schedulers, see [the ReactiveX `Scheduler` documentation page](http://reactivex....
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/String-Observables.md
@@ -0,0 +1,9 @@ +The `StringObservable` class contains methods that represent operators particular to Observables that deal in string-based sequences and streams. These include: + +* [**`byLine( )`**](http://reactivex.io/documentation/operators/map.html) — converts an Observable of Strings into an Observable of Lines b...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Subject.md
@@ -0,0 +1,12 @@ +A <a href="http://reactivex.io/RxJava/javadoc/rx/subjects/Subject.html">`Subject`</a> is a sort of bridge or proxy that acts both as an `Subscriber` and as an `Observable`. Because it is a Subscriber, it can subscribe to one or more Observables, and because it is an Observable, it can pass through the...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/The-RxJava-Android-Module.md
@@ -0,0 +1,110 @@ +**Note:** This page is out-of-date. See [the RxAndroid wiki](https://github.com/ReactiveX/RxAndroid/wiki) for more up-to-date instructions. + +*** + +The `rxjava-android` module contains Android-specific bindings for RxJava. It adds a number of classes to RxJava to assist in writing reactive componen...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Transforming-Observables.md
@@ -0,0 +1,10 @@ +This page shows operators with which you can transform items that are emitted by an Observable. + +* [**`map( )`**](http://reactivex.io/documentation/operators/map.html) — transform the items emitted by an Observable by applying a function to each of them +* [**`flatMap( )`, `concatMap( )`, and `flatM...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/What's-different-in-2.0.md
@@ -0,0 +1,972 @@ +RxJava 2.0 has been completely rewritten from scratch on top of the Reactive-Streams specification. The specification itself has evolved out of RxJava 1.x and provides a common baseline for reactive systems and libraries. + +Because Reactive-Streams has a different architecture, it mandates changes t...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/Writing-operators-for-2.0.md
@@ -0,0 +1,1746 @@ +##### Table of contents + + - [Introduction](#introduction) + - [Warning on internal components](warning-on-internal-components) + - [Atomics, serialization, deferred actions](#atomics-serialization-deferred-actions) + - [Field updaters and Android](#field-updaters-and-android) + - [Reque...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/_Footer.md
@@ -0,0 +1,2 @@ +**Copyright (c) 2016-present, RxJava Contributors.** +[Twitter @RxJava](https://twitter.com/#!/RxJava) | [Gitter @RxJava](https://gitter.im/ReactiveX/RxJava)
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/_Sidebar.md
@@ -0,0 +1,26 @@ +* [[Getting Started]] +* [[How To Use RxJava]] +* [[Additional Reading]] +* [[Observable]] + * [[Creating Observables]] + * [[Transforming Observables]] + * [[Filtering Observables]] + * [[Combining Observables]] + * [[Error Handling Operators]] + * [[Observable Utility Operators]] + * [[Condit...
true
Other
ReactiveX
RxJava
102700ce2fc0ee749eb7ce3a52b85397b638c07a.json
2.x: Add the wiki pages as docs (#6047)
docs/_Sidebar.md.md
@@ -0,0 +1,35 @@ +* [Introduction](https://github.com/ReactiveX/RxJava/wiki/Home) +* [Getting Started](https://github.com/ReactiveX/RxJava/wiki/Getting-Started) +* [JavaDoc](http://reactivex.io/RxJava/javadoc) + * [1.x](http://reactivex.io/RxJava/1.x/javadoc/rx/Observable.html) + * [2.x](http://reactivex.io/RxJava/2....
true
Other
ReactiveX
RxJava
09695b4ae069537d5a415865bb92ea6ddbc86393.json
2.x: Inline CompositeDisposable JavaDoc (#6031)
src/main/java/io/reactivex/disposables/CompositeDisposable.java
@@ -85,6 +85,12 @@ public boolean isDisposed() { return disposed; } + /** + * Adds a disposable to this container or disposes it if the + * container has been disposed. + * @param d the disposable to add, not null + * @return true if successful, false if this container has been dispos...
false
Other
ReactiveX
RxJava
175f7de3ef6c9a3ed477b9bad1daf857686fc092.json
2.x: Fix MulticastProcessor JavaDoc warnings (#6030)
src/main/java/io/reactivex/processors/MulticastProcessor.java
@@ -102,14 +102,14 @@ * <p> * Example: * <pre><code> - MulticastProcessor&lt;Integer> mp = Flowable.range(1, 10) + MulticastProcessor&lt;Integer&gt; mp = Flowable.range(1, 10) .subscribeWith(MulticastProcessor.create()); mp.test().assertResult(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); // ----------...
false
Other
ReactiveX
RxJava
5ce21f49465143c48a5bcbd32d73721aded05e78.json
2.x: Add throttleLatest operator (#5979)
src/main/java/io/reactivex/Flowable.java
@@ -15536,6 +15536,158 @@ public final Flowable<T> throttleLast(long intervalDuration, TimeUnit unit, Sche return sample(intervalDuration, unit, scheduler); } + /** + * Throttles items from the upstream {@code Flowable} by first emitting the next + * item from upstream, then periodically emit...
true
Other
ReactiveX
RxJava
5ce21f49465143c48a5bcbd32d73721aded05e78.json
2.x: Add throttleLatest operator (#5979)
src/main/java/io/reactivex/Observable.java
@@ -13055,6 +13055,134 @@ public final Observable<T> throttleLast(long intervalDuration, TimeUnit unit, Sc return sample(intervalDuration, unit, scheduler); } + /** + * Throttles items from the upstream {@code Observable} by first emitting the next + * item from upstream, then periodically em...
true
Other
ReactiveX
RxJava
5ce21f49465143c48a5bcbd32d73721aded05e78.json
2.x: Add throttleLatest operator (#5979)
src/main/java/io/reactivex/internal/operators/flowable/FlowableThrottleLatest.java
@@ -0,0 +1,248 @@ +/** + * Copyright (c) 2016-present, RxJava Contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unle...
true
Other
ReactiveX
RxJava
5ce21f49465143c48a5bcbd32d73721aded05e78.json
2.x: Add throttleLatest operator (#5979)
src/main/java/io/reactivex/internal/operators/observable/ObservableThrottleLatest.java
@@ -0,0 +1,216 @@ +/** + * Copyright (c) 2016-present, RxJava Contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unle...
true
Other
ReactiveX
RxJava
5ce21f49465143c48a5bcbd32d73721aded05e78.json
2.x: Add throttleLatest operator (#5979)
src/test/java/io/reactivex/ParamValidationCheckerTest.java
@@ -226,6 +226,11 @@ public void checkParallelFlowable() { addOverride(new ParamOverride(Flowable.class, 0, ParamMode.ANY, "throttleLast", Long.TYPE, TimeUnit.class)); addOverride(new ParamOverride(Flowable.class, 0, ParamMode.ANY, "throttleLast", Long.TYPE, TimeUnit.class, Scheduler.class)); + ...
true
Other
ReactiveX
RxJava
5ce21f49465143c48a5bcbd32d73721aded05e78.json
2.x: Add throttleLatest operator (#5979)
src/test/java/io/reactivex/internal/operators/flowable/FlowableThrottleLatestTest.java
@@ -0,0 +1,281 @@ +/** + * Copyright (c) 2016-present, RxJava Contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unle...
true
Other
ReactiveX
RxJava
5ce21f49465143c48a5bcbd32d73721aded05e78.json
2.x: Add throttleLatest operator (#5979)
src/test/java/io/reactivex/internal/operators/observable/ObservableThrottleLatestTest.java
@@ -0,0 +1,224 @@ +/** + * Copyright (c) 2016-present, RxJava Contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unle...
true
Other
ReactiveX
RxJava
cedfc538d05f8bdc5bfc6c644e258bdad946333f.json
2.x: Add refCount with count & disconnect timeout (#5986) * 2.x: Add refCount with count & disconnect timeout * Ensure coverage
src/main/java/io/reactivex/flowables/ConnectableFlowable.java
@@ -13,16 +13,19 @@ package io.reactivex.flowables; -import io.reactivex.annotations.NonNull; +import java.util.concurrent.TimeUnit; + import org.reactivestreams.Subscriber; -import io.reactivex.Flowable; +import io.reactivex.*; +import io.reactivex.annotations.*; import io.reactivex.disposables.Disposable; i...
true
Other
ReactiveX
RxJava
cedfc538d05f8bdc5bfc6c644e258bdad946333f.json
2.x: Add refCount with count & disconnect timeout (#5986) * 2.x: Add refCount with count & disconnect timeout * Ensure coverage
src/main/java/io/reactivex/observables/ConnectableObservable.java
@@ -13,15 +13,17 @@ package io.reactivex.observables; -import io.reactivex.annotations.NonNull; +import java.util.concurrent.TimeUnit; import io.reactivex.*; +import io.reactivex.annotations.*; import io.reactivex.disposables.Disposable; import io.reactivex.functions.Consumer; -import io.reactivex.internal.fu...
true
Other
ReactiveX
RxJava
cedfc538d05f8bdc5bfc6c644e258bdad946333f.json
2.x: Add refCount with count & disconnect timeout (#5986) * 2.x: Add refCount with count & disconnect timeout * Ensure coverage
src/test/java/io/reactivex/internal/operators/flowable/FlowableRefCountTest.java
@@ -1001,31 +1001,6 @@ public void subscribe(FlowableEmitter<Object> emitter) throws Exception { assertTrue(interrupted.get()); } - static <T> FlowableTransformer<T, T> refCount(final int n) { - return refCount(n, 0, TimeUnit.NANOSECONDS, Schedulers.trampoline()); - } - - static <T> Flow...
true
Other
ReactiveX
RxJava
cedfc538d05f8bdc5bfc6c644e258bdad946333f.json
2.x: Add refCount with count & disconnect timeout (#5986) * 2.x: Add refCount with count & disconnect timeout * Ensure coverage
src/test/java/io/reactivex/internal/operators/observable/ObservableRefCountTest.java
@@ -985,31 +985,6 @@ public void subscribe(ObservableEmitter<Object> emitter) throws Exception { assertTrue(interrupted.get()); } - static <T> ObservableTransformer<T, T> refCount(final int n) { - return refCount(n, 0, TimeUnit.NANOSECONDS, Schedulers.trampoline()); - } - - static <T> Ob...
true
Other
ReactiveX
RxJava
a957c789495304c0de79689a07575977f59afc7d.json
Implement 'toString' method for some Emitters (#5995) * Implement 'toString' method for Emitters * Add tests to check that toString method of Emitters contains class name * Add 'assertEmpty' to prevent catching assertions by 'onError' * Add test to ensure that SerializedEmitter delegates 'toString' to parent ...
src/main/java/io/reactivex/internal/operators/completable/CompletableCreate.java
@@ -118,5 +118,10 @@ public void dispose() { public boolean isDisposed() { return DisposableHelper.isDisposed(get()); } + + @Override + public String toString() { + return String.format("%s{%s}", getClass().getSimpleName(), super.toString()); + } } }
true
Other
ReactiveX
RxJava
a957c789495304c0de79689a07575977f59afc7d.json
Implement 'toString' method for some Emitters (#5995) * Implement 'toString' method for Emitters * Add tests to check that toString method of Emitters contains class name * Add 'assertEmpty' to prevent catching assertions by 'onError' * Add test to ensure that SerializedEmitter delegates 'toString' to parent ...
src/main/java/io/reactivex/internal/operators/flowable/FlowableCreate.java
@@ -233,6 +233,11 @@ public boolean isCancelled() { public FlowableEmitter<T> serialize() { return this; } + + @Override + public String toString() { + return emitter.toString(); + } } abstract static class BaseEmitter<T> @@ -338,6 +343,11 @@ pu...
true
Other
ReactiveX
RxJava
a957c789495304c0de79689a07575977f59afc7d.json
Implement 'toString' method for some Emitters (#5995) * Implement 'toString' method for Emitters * Add tests to check that toString method of Emitters contains class name * Add 'assertEmpty' to prevent catching assertions by 'onError' * Add test to ensure that SerializedEmitter delegates 'toString' to parent ...
src/main/java/io/reactivex/internal/operators/maybe/MaybeCreate.java
@@ -145,5 +145,10 @@ public void dispose() { public boolean isDisposed() { return DisposableHelper.isDisposed(get()); } + + @Override + public String toString() { + return String.format("%s{%s}", getClass().getSimpleName(), super.toString()); + } } }
true
Other
ReactiveX
RxJava
a957c789495304c0de79689a07575977f59afc7d.json
Implement 'toString' method for some Emitters (#5995) * Implement 'toString' method for Emitters * Add tests to check that toString method of Emitters contains class name * Add 'assertEmpty' to prevent catching assertions by 'onError' * Add test to ensure that SerializedEmitter delegates 'toString' to parent ...
src/main/java/io/reactivex/internal/operators/observable/ObservableCreate.java
@@ -126,6 +126,11 @@ public void dispose() { public boolean isDisposed() { return DisposableHelper.isDisposed(get()); } + + @Override + public String toString() { + return String.format("%s{%s}", getClass().getSimpleName(), super.toString()); + } } ...
true
Other
ReactiveX
RxJava
a957c789495304c0de79689a07575977f59afc7d.json
Implement 'toString' method for some Emitters (#5995) * Implement 'toString' method for Emitters * Add tests to check that toString method of Emitters contains class name * Add 'assertEmpty' to prevent catching assertions by 'onError' * Add test to ensure that SerializedEmitter delegates 'toString' to parent ...
src/main/java/io/reactivex/internal/operators/single/SingleCreate.java
@@ -123,5 +123,10 @@ public void dispose() { public boolean isDisposed() { return DisposableHelper.isDisposed(get()); } + + @Override + public String toString() { + return String.format("%s{%s}", getClass().getSimpleName(), super.toString()); + } } }
true
Other
ReactiveX
RxJava
a957c789495304c0de79689a07575977f59afc7d.json
Implement 'toString' method for some Emitters (#5995) * Implement 'toString' method for Emitters * Add tests to check that toString method of Emitters contains class name * Add 'assertEmpty' to prevent catching assertions by 'onError' * Add test to ensure that SerializedEmitter delegates 'toString' to parent ...
src/test/java/io/reactivex/internal/operators/completable/CompletableCreateTest.java
@@ -297,4 +297,14 @@ public void subscribe(CompletableEmitter e) throws Exception { RxJavaPlugins.reset(); } } + + @Test + public void emitterHasToString() { + Completable.create(new CompletableOnSubscribe() { + @Override + public void subscribe(CompletableE...
true
Other
ReactiveX
RxJava
a957c789495304c0de79689a07575977f59afc7d.json
Implement 'toString' method for some Emitters (#5995) * Implement 'toString' method for Emitters * Add tests to check that toString method of Emitters contains class name * Add 'assertEmpty' to prevent catching assertions by 'onError' * Add test to ensure that SerializedEmitter delegates 'toString' to parent ...
src/test/java/io/reactivex/internal/operators/flowable/FlowableCreateTest.java
@@ -16,7 +16,9 @@ import static org.junit.Assert.*; import java.io.IOException; +import java.util.HashMap; import java.util.List; +import java.util.Map; import org.junit.Test; import org.reactivestreams.*; @@ -931,4 +933,26 @@ public void subscribe(FlowableEmitter<Object> e) throws Exception { } ...
true
Other
ReactiveX
RxJava
a957c789495304c0de79689a07575977f59afc7d.json
Implement 'toString' method for some Emitters (#5995) * Implement 'toString' method for Emitters * Add tests to check that toString method of Emitters contains class name * Add 'assertEmpty' to prevent catching assertions by 'onError' * Add test to ensure that SerializedEmitter delegates 'toString' to parent ...
src/test/java/io/reactivex/internal/operators/maybe/MaybeCreateTest.java
@@ -335,4 +335,14 @@ public void subscribe(MaybeEmitter<Object> e) throws Exception { RxJavaPlugins.reset(); } } + + @Test + public void emitterHasToString() { + Maybe.create(new MaybeOnSubscribe<Object>() { + @Override + public void subscribe(MaybeEmitter<O...
true
Other
ReactiveX
RxJava
a957c789495304c0de79689a07575977f59afc7d.json
Implement 'toString' method for some Emitters (#5995) * Implement 'toString' method for Emitters * Add tests to check that toString method of Emitters contains class name * Add 'assertEmpty' to prevent catching assertions by 'onError' * Add test to ensure that SerializedEmitter delegates 'toString' to parent ...
src/test/java/io/reactivex/internal/operators/observable/ObservableCreateTest.java
@@ -643,4 +643,15 @@ public void subscribe(ObservableEmitter<Object> e) throws Exception { RxJavaPlugins.reset(); } } + + @Test + public void emitterHasToString() { + Observable.create(new ObservableOnSubscribe<Object>() { + @Override + public void subscribe...
true
Other
ReactiveX
RxJava
a957c789495304c0de79689a07575977f59afc7d.json
Implement 'toString' method for some Emitters (#5995) * Implement 'toString' method for Emitters * Add tests to check that toString method of Emitters contains class name * Add 'assertEmpty' to prevent catching assertions by 'onError' * Add test to ensure that SerializedEmitter delegates 'toString' to parent ...
src/test/java/io/reactivex/internal/operators/single/SingleCreateTest.java
@@ -307,4 +307,14 @@ public void subscribe(SingleEmitter<Object> e) throws Exception { RxJavaPlugins.reset(); } } + + @Test + public void emitterHasToString() { + Single.create(new SingleOnSubscribe<Object>() { + @Override + public void subscribe(SingleEmitt...
true
Other
ReactiveX
RxJava
90203b6f6962e7aa8259780b94fb591e4232ddba.json
2.x: Fix switchMap to indicate boundary fusion (#5991)
src/main/java/io/reactivex/internal/operators/flowable/FlowableSwitchMap.java
@@ -359,7 +359,7 @@ public void onSubscribe(Subscription s) { @SuppressWarnings("unchecked") QueueSubscription<R> qs = (QueueSubscription<R>) s; - int m = qs.requestFusion(QueueSubscription.ANY); + int m = qs.requestFusion(QueueSubscripti...
true
Other
ReactiveX
RxJava
90203b6f6962e7aa8259780b94fb591e4232ddba.json
2.x: Fix switchMap to indicate boundary fusion (#5991)
src/main/java/io/reactivex/internal/operators/observable/ObservableSwitchMap.java
@@ -348,7 +348,7 @@ public void onSubscribe(Disposable s) { @SuppressWarnings("unchecked") QueueDisposable<R> qd = (QueueDisposable<R>) s; - int m = qd.requestFusion(QueueDisposable.ANY); + int m = qd.requestFusion(QueueDisposable.ANY | Q...
true
Other
ReactiveX
RxJava
90203b6f6962e7aa8259780b94fb591e4232ddba.json
2.x: Fix switchMap to indicate boundary fusion (#5991)
src/test/java/io/reactivex/TestHelper.java
@@ -2922,4 +2922,214 @@ public void request(long n) { } }; } + + static final class FlowableStripBoundary<T> extends Flowable<T> implements FlowableTransformer<T, T> { + + final Flowable<T> source; + + FlowableStripBoundary(Flowable<T> source) { + this.source = sou...
true
Other
ReactiveX
RxJava
90203b6f6962e7aa8259780b94fb591e4232ddba.json
2.x: Fix switchMap to indicate boundary fusion (#5991)
src/test/java/io/reactivex/internal/operators/flowable/FlowableSwitchTest.java
@@ -33,7 +33,7 @@ import io.reactivex.internal.util.ExceptionHelper; import io.reactivex.plugins.RxJavaPlugins; import io.reactivex.processors.PublishProcessor; -import io.reactivex.schedulers.TestScheduler; +import io.reactivex.schedulers.*; import io.reactivex.subscribers.*; public class FlowableSwitchTest { @...
true
Other
ReactiveX
RxJava
90203b6f6962e7aa8259780b94fb591e4232ddba.json
2.x: Fix switchMap to indicate boundary fusion (#5991)
src/test/java/io/reactivex/internal/operators/observable/ObservableSwitchTest.java
@@ -14,6 +14,7 @@ package io.reactivex.internal.operators.observable; import static org.junit.Assert.*; +import static org.mockito.ArgumentMatchers.*; import static org.mockito.Mockito.*; import java.util.List; @@ -26,15 +27,14 @@ import io.reactivex.*; import io.reactivex.disposables.*; import io.reactivex....
true
Other
ReactiveX
RxJava
fbba23e3dfa99e195ceda68cd7fef7bfc41fccc6.json
Add marble diagrams to a few Single.doOnX methods. (#5987) * Add marble diagrams to a few Single.doOnX methods. * Use correct marble diagram urls for couple of Single.doOnXX methods
src/main/java/io/reactivex/Single.java
@@ -2244,6 +2244,9 @@ public final Single<T> doAfterTerminate(Action onAfterTerminate) { * is executed once per subscription. * <p>Note that the {@code onFinally} action is shared between subscriptions and as such * should be thread-safe. + * <p> + * <img width="640" height="291" src="https://...
false
Other
ReactiveX
RxJava
d57af5af671f13d29177984c57092379da30f9b3.json
2.x: Add blockingSubscribe JavaDoc clarifications (#5984)
src/main/java/io/reactivex/Flowable.java
@@ -5801,6 +5801,10 @@ public final Future<T> toFuture() { /** * Runs the source Flowable to a terminal event, ignoring any values and rethrowing any exception. + * <p> + * Note that calling this method will block the caller thread until the upstream terminates + * normally or with an error. Th...
true
Other
ReactiveX
RxJava
d57af5af671f13d29177984c57092379da30f9b3.json
2.x: Add blockingSubscribe JavaDoc clarifications (#5984)
src/main/java/io/reactivex/Observable.java
@@ -5314,11 +5314,18 @@ public final Future<T> toFuture() { * Runs the source observable to a terminal event, ignoring any values and rethrowing any exception. * <p> * <img width="640" height="270" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/blockingSubscribe.o.0.png" alt="">...
true
Other
ReactiveX
RxJava
d07dfa1fe59e71e2f231246374c9c2009599ef62.json
2.x: improve JavaDocs of the subscribeActual methods (#5981)
src/main/java/io/reactivex/Completable.java
@@ -1927,8 +1927,11 @@ public final void subscribe(CompletableObserver s) { } /** - * Implement this to handle the incoming CompletableObserver and + * Implement this method to handle the incoming {@link CompletableObserver}s and * perform the business logic in your operator. + * <p>There ...
true
Other
ReactiveX
RxJava
d07dfa1fe59e71e2f231246374c9c2009599ef62.json
2.x: improve JavaDocs of the subscribeActual methods (#5981)
src/main/java/io/reactivex/Flowable.java
@@ -14333,9 +14333,10 @@ public final void subscribe(FlowableSubscriber<? super T> s) { /** * Operator implementations (both source and intermediate) should implement this method that - * performs the necessary business logic. - * <p>There is no need to call any of the plugin hooks on the current F...
true
Other
ReactiveX
RxJava
d07dfa1fe59e71e2f231246374c9c2009599ef62.json
2.x: improve JavaDocs of the subscribeActual methods (#5981)
src/main/java/io/reactivex/Maybe.java
@@ -4082,7 +4082,10 @@ public final void subscribe(MaybeObserver<? super T> observer) { } /** - * Override this method in subclasses to handle the incoming MaybeObservers. + * Implement this method in subclasses to handle the incoming {@link MaybeObserver}s. + * <p>There is no need to call any o...
true
Other
ReactiveX
RxJava
d07dfa1fe59e71e2f231246374c9c2009599ef62.json
2.x: improve JavaDocs of the subscribeActual methods (#5981)
src/main/java/io/reactivex/Observable.java
@@ -12039,9 +12039,10 @@ public final void subscribe(Observer<? super T> observer) { /** * Operator implementations (both source and intermediate) should implement this method that - * performs the necessary business logic. - * <p>There is no need to call any of the plugin hooks on the current Obse...
true
Other
ReactiveX
RxJava
d07dfa1fe59e71e2f231246374c9c2009599ef62.json
2.x: improve JavaDocs of the subscribeActual methods (#5981)
src/main/java/io/reactivex/Single.java
@@ -3304,7 +3304,10 @@ public final void subscribe(SingleObserver<? super T> subscriber) { } /** - * Override this method in subclasses to handle the incoming SingleObservers. + * Implement this method in subclasses to handle the incoming {@link SingleObserver}s. + * <p>There is no need to call ...
true
Other
ReactiveX
RxJava
63877ae8499b8bc8152ec38246c4cbdf876b50be.json
Fix few typos in readme. (#5967)
README.md
@@ -238,7 +238,7 @@ Flowable.range(1, 10) .blockingSubscribe(System.out::println); ``` -Practically, paralellism in RxJava means running independent flows and merging their results back into a single flow. The operator `flatMap` does this by first mapping each number from 1 to 10 into its own individual `Flowable...
false
Other
ReactiveX
RxJava
86902355bb8518e1e74f7c84c973697120e5d9f3.json
2.x: Add Single.ignoreElement, deprecate toCompletable (#5957) * 2.x: Add Single.ignoreElement, deprecate toCompletable * Fix javadoc method name * Have Single.ignoreElement standard from the start
src/main/java/io/reactivex/Maybe.java
@@ -3084,7 +3084,7 @@ public final Maybe<T> hide() { /** * Ignores the item emitted by the source Maybe and only calls {@code onComplete} or {@code onError}. * <p> - * <img width="640" height="305" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/ignoreElements.png" alt=""> + ...
true