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
    Constructor
    Description
    Emit(Iterable<Up> emissions)
    Creates a Procedure causes the upstream subject to emit the given value(s).
    Emit(Up... emissions)
    Creates a Procedure causes the upstream subject to emit the given value(s).
  • Method Summary

    Methods inherited from class org.saynotobugs.confidence.quality.composite.QualityComposition

    assessmentOf, description

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Emit

      @SafeVarargs public Emit(Up... emissions)
      Creates a Procedure causes the upstream subject to emit the given value(s).

      Note, this has no effect on CompletableSources because they don't have any values.

      SingleSources and MaybeSources can only emit a single value and trying to emit more than one value will cause an Exception to be thrown. Also note that SingleSources and MaybeSources automatically complete when a value is emitted.

    • Emit

      public Emit(Iterable<Up> emissions)
      Creates a Procedure causes the upstream subject to emit the given value(s).

      Note, this has no effect on CompletableSources because they don't have any values.

      SingleSources and MaybeSources can only emit a single value and trying to emit more than one value will cause an Exception to be thrown. Also note that SingleSources and MaybeSources automatically complete when a value is emitted.