Packages

o

akka.stream.testkit

TestPublisher

object TestPublisher

Provides factory methods for various Publishers.

Source
StreamTestKit.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestPublisher
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class CancelSubscription(subscription: Subscription, cause: Throwable) extends PublisherEvent with Product with Serializable
  2. 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.

  3. class Probe[T] extends ManualProbe[T]

    Single subscription and demand tracking for TestPublisher.ManualProbe.

  4. trait PublisherEvent extends DeadLetterSuppression with NoSerializationVerificationNeeded
  5. final case class RequestMore(subscription: Subscription, elements: Long) extends PublisherEvent with Product with Serializable
  6. final case class Subscribe(subscription: Subscription) extends PublisherEvent with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. def empty[T](): Publisher[T]

    Publisher that signals complete to subscribers, after handing a void subscription.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def error[T](cause: Throwable): Publisher[T]

    Publisher that signals error to subscribers immediately after handing out subscription.

  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def lazyEmpty[T]: Publisher[T]

    Publisher that subscribes the subscriber and completes after the first request.

  14. def lazyError[T](cause: Throwable): Publisher[T]

    Publisher that subscribes the subscriber and signals error after the first request.

  15. def manualProbe[T](autoOnSubscribe: Boolean = true)(implicit system: ActorSystem): ManualProbe[T]

    Probe that implements org.reactivestreams.Publisher interface.

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def probe[T](initialPendingRequests: Long = 0)(implicit system: ActorSystem): Probe[T]

    Probe that implements org.reactivestreams.Publisher interface and tracks demand.

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. object ManualProbe
  26. object Probe
  27. object SubscriptionDone extends NoSerializationVerificationNeeded

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped