Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Reactor/ex1/src/main/java/utils/ReactorUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static <T> MonoSubject<T> makeHotMono(Mono<T> mono) {
*/
public static <T> Flux<T> justConcurrentIf(T item, boolean parallel) {
return Flux
// Just omit this one item.
// Just emit this one item.
.just(item)

// Conditionally convert to run concurrently.
Expand All @@ -112,7 +112,7 @@ public static <T> Flux<T> justConcurrentIf(T item, boolean parallel) {
*/
public static <T extends Iterable<? extends T>> Flux<T> fromIterableConcurrentIf(T item, boolean parallel) {
return Flux
// Just omit this one item.
// Just emit this one item.
.fromIterable(item)

// Conditionally convert to run concurrently.
Expand All @@ -127,7 +127,7 @@ public static <T extends Iterable<? extends T>> Flux<T> fromIterableConcurrentIf
*/
public static <T> Mono<T> fromCallableConcurrent(Callable<T> item) {
return Mono
// Just omit this one item.
// Just emit this one item.
.fromCallable(item)

// Conditionally convert to run concurrently.
Expand Down