Class TestSource


  • public class TestSource
    extends java.lang.Object
    Factory methods for test sources.
    • Constructor Detail

      • TestSource

        public TestSource()
    • Method Detail

      • probe

        public static <T> Source<T,​TestPublisher.Probe<T>> probe​(ActorSystem system)
        Deprecated.
        Use `TestSource.apply` with implicit ClassicActorSystemProvider instead of ActorSystem. Since 1.3.0.
        A Source that materializes to a pekko.stream.testkit.TestPublisher.