We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98d0b7f commit a779687Copy full SHA for a779687
src/main/java/io/reactivex/disposables/Disposables.java
@@ -66,9 +66,9 @@ public static Disposable fromFuture(Future<?> future) {
66
}
67
68
/**
69
- * Construct a Disposable by wrapping a Runnable that is
70
- * executed exactly once when the Disposable is disposed.
71
- * @param future the Runnable to wrap
+ * Construct a Disposable by wrapping a Future that is
+ * cancelled exactly once when the Disposable is disposed.
+ * @param future the Future to wrap
72
* @param allowInterrupt if true, the future cancel happens via Future.cancel(true)
73
* @return the new Disposable instance
74
*/
0 commit comments