register an action to take upon a variety of Observable lifecycle events
doOnCompleted doOnEach doOnError doOnNext doOnRequest doOnSubscribe doOnTerminate doOnUnsubscribe finallyDo
RxGroovy has several Do variants.
doOnCompleted doOnEach doOnError doOnNext doOnRequest doOnSubscribe doOnTerminate doOnUnsubscribe finallyDo doAfterTerminate
RxJava has several Do variants.
do doOnCompleted doOnError doOnNext finally tap tapOnCompleted tapOnError tapOnNext
do
/tap
, doOnNext
/tapOnNext
, doOnError
/tapOnError
, doOnCompleted
/tapOnCompleted
, and finally
are found in each of the following distributions:
rx.js
rx.all.js
rx.all.compat.js
rx.compat.js
rx.lite.js
rx.lite.compat.js
do doOnError doOnCompleted finally
© ReactiveX contributors
Licensed under the Apache License 2.0.
http://reactivex.io/documentation/operators/do.html