Skip to content

Commit 1aeac06

Browse files
UMFsimkeakarnokd
authored andcommitted
Add marbles for Single.amb operators (#6091)
1 parent 4a74415 commit 1aeac06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/io/reactivex/Single.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ public abstract class Single<T> implements SingleSource<T> {
116116
/**
117117
* Runs multiple SingleSources and signals the events of the first one that signals (cancelling
118118
* the rest).
119+
* <p>
120+
* <img width="640" height="515" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.amb.png" alt="">
119121
* <dl>
120122
* <dt><b>Scheduler:</b></dt>
121123
* <dd>{@code amb} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -136,6 +138,8 @@ public static <T> Single<T> amb(final Iterable<? extends SingleSource<? extends
136138
/**
137139
* Runs multiple SingleSources and signals the events of the first one that signals (cancelling
138140
* the rest).
141+
* <p>
142+
* <img width="640" height="515" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.ambArray.png" alt="">
139143
* <dl>
140144
* <dt><b>Scheduler:</b></dt>
141145
* <dd>{@code ambArray} does not operate by default on a particular {@link Scheduler}.</dd>

0 commit comments

Comments
 (0)