public class MultiCreateBy extends Object
Modifier and Type | Field and Description |
---|---|
static MultiCreateBy |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
MultiItemCombination |
combining()
|
MultiConcat |
concatenating()
|
MultiMerge |
merging()
|
MultiRepetition |
repeating()
|
public static final MultiCreateBy INSTANCE
public MultiConcat concatenating()
Multi
by concatenating several
Multi
or Publisher
instances.
The concatenation reads the streams in order and emits the items in order.
public MultiMerge merging()
Multi
by merging several
Multi
or Publisher
instances.
The concatenation reads the streams in parallel and emits the items as they come.
public MultiItemCombination combining()
Multi
by associating / combining the items from different
streams (Multi
or Publisher
).
The resulting Multi
can:
The combination also allows to collect the failures and propagate a failure when all observed streams have completed (or failed) instead of propagating the failure immediately.
public MultiRepetition repeating()
Copyright © 2019–2020 SmallRye. All rights reserved.