TestSubscriber

org.apache.pekko.stream.testkit.TestSubscriber

Attributes

Source
StreamTestKit.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class ManualProbe[I] extends Subscriber[I]

Implementation of org.reactivestreams.Subscriber that allows various assertions.

Implementation of org.reactivestreams.Subscriber that allows various assertions.

All timeouts are dilated automatically, for more details about time dilation refer to pekko.testkit.TestKit.

Attributes

Companion
object
Source
StreamTestKit.scala
Supertypes
trait Subscriber[I]
class Object
trait Matchable
class Any
Known subtypes
class Probe[T]
object ManualProbe

Attributes

Companion
class
Source
StreamTestKit.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case object OnComplete extends SubscriberEvent

Attributes

Source
StreamTestKit.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
OnComplete.type
final case class OnError(cause: Throwable) extends SubscriberEvent

Attributes

Source
StreamTestKit.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class OnNext[I](element: I) extends SubscriberEvent

Attributes

Source
StreamTestKit.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class OnSubscribe(subscription: Subscription) extends SubscriberEvent

Attributes

Source
StreamTestKit.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class Probe[T] extends ManualProbe[T]

Single subscription tracking for ManualProbe.

Single subscription tracking for ManualProbe.

Attributes

Companion
object
Source
StreamTestKit.scala
Supertypes
class ManualProbe[T]
trait Subscriber[T]
class Object
trait Matchable
class Any
object Probe

Attributes

Companion
class
Source
StreamTestKit.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Probe.type

Attributes

Source
StreamTestKit.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object OnComplete
class OnError
class OnNext[I]
class OnSubscribe

Value members

Concrete methods

def manualProbe[T]()(implicit system: ActorSystem): ManualProbe[T]

Probe that implements org.reactivestreams.Subscriber interface.

Probe that implements org.reactivestreams.Subscriber interface.

Attributes

Source
StreamTestKit.scala
def probe[T]()(implicit system: ActorSystem): Probe[T]

Attributes

Source
StreamTestKit.scala