TestSource

org.apache.pekko.stream.testkit.scaladsl.TestSource
object TestSource

Factory methods for test sources.

Attributes

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

Members list

Value members

Concrete methods

def apply[T]()(implicit system: ClassicActorSystemProvider): Source[T, Probe[T]]

A Source that materializes to a pekko.stream.testkit.TestPublisher.Probe.

A Source that materializes to a pekko.stream.testkit.TestPublisher.Probe.

Attributes

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

A Source that materializes to a pekko.stream.testkit.TestPublisher.Probe.

A Source that materializes to a pekko.stream.testkit.TestPublisher.Probe.

Attributes

Source
TestSource.scala