=str #16923: Inject identity between SubscriberSource and PublisherSink

This commit is contained in:
Endre Sándor Varga 2015-06-06 14:36:49 +02:00 committed by Endre Sándor Varga
parent 632868b868
commit 74843eccaf
7 changed files with 41 additions and 21 deletions

View file

@ -65,7 +65,7 @@ object Sink {
*/
def foreach[T](f: function.Procedure[T]): Sink[T, Future[Unit]] =
new Sink(scaladsl.Sink.foreach(f.apply))
/**
* A `Sink` that will invoke the given procedure for each received element in parallel. The sink is materialized
* into a [[scala.concurrent.Future]].