You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/Observable.scala
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3330,10 +3330,19 @@ object Observable {
3330
3330
* Write the function you pass so that it behaves as an Observable: It should invoke the
3331
3331
* Subscriber's `onNext`, `onError`, and `onCompleted` methods appropriately.
3332
3332
*
3333
+
* You can `add` custom [[Subscription]]s to [[Subscriber]]. These [[Subscription]]s will be called
3334
+
* <ul>
3335
+
* <li>when someone calls `unsubscribe`.</li>
3336
+
* <li>after `onCompleted` or `onError`.</li>
3337
+
* </ul>
3338
+
*
3333
3339
* See <a href="http://go.microsoft.com/fwlink/?LinkID=205219">Rx Design Guidelines (PDF)</a> for detailed
3334
3340
* information.
3335
3341
*
3336
-
* @tparamT
3342
+
* See `<a href="https://github.com/Netflix/RxJava/blob/master/language-adaptors/rxjava-scala/src/examples/scala/rx/lang/scala/examples/RxScalaDemo.scala">RxScalaDemo</a>.createExampleGood`
3343
+
* and `<a href="https://github.com/Netflix/RxJava/blob/master/language-adaptors/rxjava-scala/src/examples/scala/rx/lang/scala/examples/RxScalaDemo.scala">RxScalaDemo</a>.createExampleGood2`.
3344
+
*
3345
+
* @paramT
3337
3346
* the type of the items that this Observable emits
3338
3347
* @paramf
3339
3348
* a function that accepts a `Subscriber[T]`, and invokes its `onNext`,
0 commit comments