Skip to content

Commit

Permalink
add "@SInCE 0.20" annotation to new multicast() variant
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMGross committed Jul 31, 2014
1 parent 747bd20 commit a7953e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rxjava-core/src/main/java/rx/Observable.java
Original file line number Diff line number Diff line change
Expand Up @@ -5441,13 +5441,15 @@ public final <R> ConnectableObservable<R> multicast(final Subject<? super T, ? e
* </dl>
*
* @param subjectFactory
* Func that creates a new {@link Subject} for the {@link ConnectableObservable} to push source items into
* a function that creates a new {@link Subject} for the {@link ConnectableObservable} to push
* source items into
* @param <R>
* the type of items emitted by the resulting {@code ConnectableObservable}
* @return a {@link ConnectableObservable} that upon connection causes the source Observable to push results
* into the specified {@link Subject}
* @see <a href="https://github.com/Netflix/RxJava/wiki/Connectable-Observable-Operators#observablepublish-and-observablemulticast">RxJava wiki: Observable.publish and Observable.multicast</a>
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229708.aspx">MSDN: Observable.Multicast</a>
* @since 0.20
*/
public final <R> ConnectableObservable<R> multicast(Func0<? extends Subject<? super T, ? extends R>> subjectFactory) {
return new OperatorMulticast<T, R>(this, subjectFactory);
Expand Down

0 comments on commit a7953e6

Please sign in to comment.