Object

akka.stream.testkit

TestPublisher

Related Doc: package testkit

Permalink

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. All

Type Members

  1. final case class CancelSubscription(subscription: Subscription) extends PublisherEvent with Product with Serializable

    Permalink
  2. class ManualProbe[I] extends Publisher[I]

    Permalink

    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]

    Permalink

    Single subscription and demand tracking for TestPublisher.ManualProbe.

  4. trait PublisherEvent extends DeadLetterSuppression with NoSerializationVerificationNeeded

    Permalink
  5. final case class RequestMore(subscription: Subscription, elements: Long) extends PublisherEvent with Product with Serializable

    Permalink
  6. final case class Subscribe(subscription: Subscription) extends PublisherEvent with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object SubscriptionDone extends NoSerializationVerificationNeeded

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def empty[T](): Publisher[T]

    Permalink

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

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def error[T](cause: Throwable): Publisher[T]

    Permalink

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

  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def lazyEmpty[T]: Publisher[T]

    Permalink

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

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

    Permalink

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

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

    Permalink

    Probe that implements org.reactivestreams.Publisher interface.

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def probe[T](initialPendingRequests: Long = 0)(implicit system: ActorSystem): Probe[T]

    Permalink

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

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped