Class Emit<Up>
- java.lang.Object
-
- org.saynotobugs.confidence.quality.composite.QualityComposition<RxSubjectAdapter<? super Up>>
-
- org.saynotobugs.confidence.rxjava3.procedure.Emit<Up>
-
- All Implemented Interfaces:
org.saynotobugs.confidence.Quality<RxSubjectAdapter<? super Up>>
public final class Emit<Up> extends org.saynotobugs.confidence.quality.composite.QualityComposition<RxSubjectAdapter<? super Up>>
-
-
Constructor Detail
-
Emit
@SafeVarargs public Emit(Up... emissions)
Creates aProcedurecauses the upstream subject to emit the given value(s).Note, this has no effect on
CompletableSources because they don't have any values.SingleSources andMaybeSources can only emit a single value and trying to emit more than one value will cause an Exception to be thrown. Also note thatSingleSources andMaybeSources automatically complete when a value is emitted.
-
Emit
public Emit(java.lang.Iterable<Up> emissions)
Creates aProcedurecauses the upstream subject to emit the given value(s).Note, this has no effect on
CompletableSources because they don't have any values.SingleSources andMaybeSources can only emit a single value and trying to emit more than one value will cause an Exception to be thrown. Also note thatSingleSources andMaybeSources automatically complete when a value is emitted.
-
-