Package akka.stream.testkit.javadsl
Class TestSource
- java.lang.Object
-
- akka.stream.testkit.javadsl.TestSource
-
public class TestSource extends java.lang.Object
Java API
-
-
Constructor Summary
Constructors Constructor Description TestSource()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> Source<T,TestPublisher.Probe<T>>
create(ClassicActorSystemProvider system)
A Source that materializes to aTestPublisher.Probe
.static <T> Source<T,TestPublisher.Probe<T>>
probe(ActorSystem system)
Deprecated.Use `TestSource.create` with ClassicActorSystemProvider instead.
-
-
-
Method Detail
-
probe
public static <T> Source<T,TestPublisher.Probe<T>> probe(ActorSystem system)
Deprecated.Use `TestSource.create` with ClassicActorSystemProvider instead. Since 2.7.0.A Source that materializes to aTestPublisher.Probe
.
-
create
public static <T> Source<T,TestPublisher.Probe<T>> create(ClassicActorSystemProvider system)
A Source that materializes to aTestPublisher.Probe
.
-
-