Skip to content

Commit

Permalink
Add comments and @experimental annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Wysocki committed Sep 22, 2017
1 parent 71f0154 commit bda1040
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.uber.autodispose.observers;

import io.reactivex.CompletableObserver;
import io.reactivex.annotations.Experimental;
import io.reactivex.disposables.Disposable;

/**
Expand All @@ -27,7 +28,8 @@ public interface AutoDisposingCompletableObserver extends CompletableObserver, D

/**
* @return The delegate {@link CompletableObserver} that is used under the hood forintrospection
* purposes.
* purposes. This will be updated once LambdaIntrospection is out of @Experimental in RxJava.
*/
@Experimental
CompletableObserver delegateObserver();
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.uber.autodispose.observers;

import io.reactivex.MaybeObserver;
import io.reactivex.annotations.Experimental;
import io.reactivex.disposables.Disposable;

/**
Expand All @@ -27,7 +28,8 @@ public interface AutoDisposingMaybeObserver<T> extends MaybeObserver<T>, Disposa

/**
* @return The delegate {@link MayberObserver} that is used under the hood for introspection
* purposes.
* purposes. This will be updated once LambdaIntrospection is out of @Experimental in RxJava.
*/
@Experimental
MaybeObserver<? super T> delegateObserver();
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.uber.autodispose.observers;

import io.reactivex.Observer;
import io.reactivex.annotations.Experimental;
import io.reactivex.disposables.Disposable;

/**
Expand All @@ -26,7 +27,9 @@
public interface AutoDisposingObserver<T> extends Observer<T>, Disposable {

/**
* @return The delegate {@link Observer} that is used under the hood for introspection purposes.
* @return The delegate {@link Observer} that is used under the hood for introspection purpose.
* This will be updated once LambdaIntrospection is out of @Experimental in RxJava.
*/
@Experimental
Observer<? super T> delegateObserver();
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.uber.autodispose.observers;

import io.reactivex.SingleObserver;
import io.reactivex.annotations.Experimental;
import io.reactivex.disposables.Disposable;

/**
Expand All @@ -27,7 +28,8 @@ public interface AutoDisposingSingleObserver<T> extends SingleObserver<T>, Dispo

/**
* @return The delegate {@link SingleObserver} that is used under the hood for introspection
* purposes.
* purposes. This will be updated once LambdaIntrospection is out of @Experimental in RxJava.
*/
@Experimental
SingleObserver<? super T> delegateObserver();
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.uber.autodispose.observers;

import io.reactivex.FlowableSubscriber;
import io.reactivex.annotations.Experimental;
import io.reactivex.disposables.Disposable;
import org.reactivestreams.Subscriber;
import org.reactivestreams.Subscription;
Expand All @@ -30,7 +31,8 @@ public interface AutoDisposingSubscriber<T>

/**
* @return The delegate {@link Subscriber} that is used under the hood for introspection
* purposes.
* purposes. This will be updated once LambdaIntrospection is out of @Experimental in RxJava.
*/
@Experimental
Subscriber<? super T> delegateSubscriber();
}

0 comments on commit bda1040

Please sign in to comment.