object TestPublisher
Provides factory methods for various Publishers.
- Source
 - StreamTestKit.scala
 
- Alphabetic
 - By Inheritance
 
- TestPublisher
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Type Members
-  final case class CancelSubscription(subscription: Subscription, cause: Throwable) extends PublisherEvent with Product with Serializable
 -    class ManualProbe[I] extends Publisher[I]
Implementation of org.reactivestreams.Publisher that allows various assertions.
Implementation of org.reactivestreams.Publisher that allows various assertions. This probe does not track demand. Therefore you need to expect demand before sending elements downstream.
 -    class Probe[T] extends ManualProbe[T]
Single subscription and demand tracking for TestPublisher.ManualProbe.
 -  trait PublisherEvent extends DeadLetterSuppression with NoSerializationVerificationNeeded
 -  final case class RequestMore(subscription: Subscription, elements: Long) extends PublisherEvent with Product with Serializable
 -  final case class Subscribe(subscription: Subscription) extends PublisherEvent with Product with Serializable
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
 
 -    def empty[T](): Publisher[T]
Publisher that signals complete to subscribers, after handing a void subscription.
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef → Any
 
 -    def error[T](cause: Throwable): Publisher[T]
Publisher that signals error to subscribers immediately after handing out subscription.
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -    def hashCode(): Int
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -    def lazyEmpty[T]: Publisher[T]
Publisher that subscribes the subscriber and completes after the first request.
 -    def lazyError[T](cause: Throwable): Publisher[T]
Publisher that subscribes the subscriber and signals error after the first request.
 -    def manualProbe[T](autoOnSubscribe: Boolean = true)(implicit system: ActorSystem): ManualProbe[T]
Probe that implements org.reactivestreams.Publisher interface.
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -    def probe[T](initialPendingRequests: Long = 0)(implicit system: ActorSystem): Probe[T]
Probe that implements org.reactivestreams.Publisher interface and tracks demand.
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - AnyRef → Any
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -  object ManualProbe
 -  object Probe
 -  object SubscriptionDone extends NoSerializationVerificationNeeded