Packages

o

akka.stream.testkit

TestPublisher

object TestPublisher

Provides factory methods for various Publishers.

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

Type Members

  1. final case class CancelSubscription (subscription: Subscription) 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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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: Any): 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. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def lazyEmpty[T]: Publisher[T]

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

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

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

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

    Probe that implements org.reactivestreams.Publisher interface.

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

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

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped