Skip to content

Commit dc00d14

Browse files
committed
Merge pull request ReactiveX#3386 from stealthcode/demote-do-on-request
1.1.0 - Changed Observable.doOnRequest(Action1) to @experimental from @beta
2 parents 93eceb5 + 2f5358a commit dc00d14

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

src/main/java/rx/Observable.java

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4444,20 +4444,26 @@ public final void onNext(T args) {
44444444

44454445
return lift(new OperatorDoOnEach<T>(observer));
44464446
}
4447-
4447+
44484448
/**
4449-
* Modifies the source {@code Observable} so that it invokes the given action when it receives a request for
4450-
* more items.
4449+
* Modifies the source {@code Observable} so that it invokes the given action when it receives a
4450+
* request for more items.
4451+
* <p>
4452+
* <b>Note:</b> This operator is for tracing the internal behavior of back-pressure request
4453+
* patterns and generally intended for debugging use.
44514454
* <dl>
4452-
* <dt><b>Scheduler:</b></dt>
4453-
* <dd>{@code doOnRequest} does not operate by default on a particular {@link Scheduler}.</dd>
4455+
* <dt><b>Scheduler:</b></dt>
4456+
* <dd>{@code doOnRequest} does not operate by default on a particular {@link Scheduler}.</dd>
44544457
* </dl>
44554458
*
44564459
* @param onRequest
4457-
* the action that gets called when an observer requests items from this {@code Observable}
4460+
* the action that gets called when an observer requests items from this
4461+
* {@code Observable}
44584462
* @return the source {@code Observable} modified so as to call this Action when appropriate
4459-
* @see <a href="http://reactivex.io/documentation/operators/do.html">ReactiveX operators documentation: Do</a>
4460-
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
4463+
* @see <a href="http://reactivex.io/documentation/operators/do.html">ReactiveX operators
4464+
* documentation: Do</a>
4465+
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical
4466+
* with the release number)
44614467
*/
44624468
@Beta
44634469
public final Observable<T> doOnRequest(final Action1<Long> onRequest) {

0 commit comments

Comments
 (0)