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 Summary
Constructors -
Method Summary
Methods inherited from class org.saynotobugs.confidence.quality.composite.QualityComposition
assessmentOf, description
-
Constructor Details
-
Emit
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
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.
-