MCPcopy Index your code
hub / github.com/ReactiveX/RxJava / concat

Method concat

src/main/java/io/reactivex/rxjava3/core/Flowable.java:1182–1191  ·  view source on GitHub ↗

Concatenates elements of each Publisher provided via an Iterable sequence into a single sequence of elements without interleaving them. Backpres

(@NonNull Iterable<@NonNull ? extends Publisher<? extends T>> sources)

Source from the content-addressed store, hash-verified

1180 * @throws NullPointerException if {@code sources} is {@code null}
1181 */
1182 @SuppressWarnings({ "unchecked", "rawtypes" })
1183 @CheckReturnValue
1184 @NonNull
1185 @BackpressureSupport(BackpressureKind.FULL)
1186 @SchedulerSupport(SchedulerSupport.NONE)
1187 public static <@NonNull T> Flowable<T> concat(@NonNull Iterable<@NonNull ? extends Publisher<? extends T>> sources) {
1188 Objects.requireNonNull(sources, "sources is null");
1189 // unlike general sources, fromIterable can only throw on a boundary because it is consumed only there
1190 return fromIterable(sources).concatMapDelayError((Function)Functions.identity(), false, 2);
1191 }
1192
1193 /**
1194 * Returns a {@code Flowable} that emits the items emitted by each of the {@link Publisher}s emitted by the source

Callers 15

concatSimpleMethod · 0.95
concatCovarianceMethod · 0.95
concatCovariance2Method · 0.95
concatCovariance3Method · 0.95
concatCovariance4Method · 0.95
windowMethod · 0.95
concatMethod · 0.95
concatWithListMethod · 0.95

Calls 7

fromIterableMethod · 0.95
identityMethod · 0.95
bufferSizeMethod · 0.95
fromPublisherMethod · 0.95
concatArrayMethod · 0.95
concatMapDelayErrorMethod · 0.45
concatMapMethod · 0.45

Tested by 15

concatSimpleMethod · 0.76
concatCovarianceMethod · 0.76
concatCovariance2Method · 0.76
concatCovariance3Method · 0.76
concatCovariance4Method · 0.76
windowMethod · 0.76
concatMethod · 0.76
concatWithListMethod · 0.76