All Downloads are FREE. Search and download functionalities are using the official Maven repository.

akka.stream.testkit.javadsl.TestSink.scala Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2015-2020 Lightbend Inc. 
 */

package akka.stream.testkit.javadsl

import akka.actor.ActorSystem
import akka.stream.javadsl.Sink
import akka.stream.testkit._

/** Java API */
object TestSink {

  /**
   * A Sink that materialized to a [[akka.stream.testkit.TestSubscriber.Probe]].
   */
  def probe[T](system: ActorSystem): Sink[T, TestSubscriber.Probe[T]] =
    new Sink(scaladsl.TestSink.probe[T](system))

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy