=str #16923: Inject identity between SubscriberSource and PublisherSink
This commit is contained in:
parent
632868b868
commit
74843eccaf
7 changed files with 41 additions and 21 deletions
|
|
@ -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]].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue