Class Emit<Up>
java.lang.Object
org.saynotobugs.confidence.rxjava3.procedure.Emit<Up>
- All Implemented Interfaces:
org.dmfs.jems2.FragileProcedure<RxSubjectAdapter<Up>,,RuntimeException> org.dmfs.jems2.Procedure<RxSubjectAdapter<Up>>
public final class Emit<Up>
extends Object
implements org.dmfs.jems2.Procedure<RxSubjectAdapter<Up>>
-
Constructor Summary
Constructors -
Method Summary
-
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.
-
-
Method Details
-
process
- Specified by:
processin interfaceorg.dmfs.jems2.FragileProcedure<RxSubjectAdapter<Up>,RuntimeException> - Specified by:
processin interfaceorg.dmfs.jems2.Procedure<Up>
-