=str javadoc rewording on new wireTap method

This commit is contained in:
Konrad `ktoso` Malawski 2018-04-25 02:20:10 +09:00 committed by Konrad `ktoso` Malawski
parent 5f5b41f3b8
commit cceb184098
5 changed files with 10 additions and 9 deletions

View file

@ -1073,7 +1073,8 @@ final class Source[Out, Mat](delegate: scaladsl.Source[Out, Mat]) extends Graph[
new Source(delegate.map(f.apply))
/**
* Similar to [[map]], however does not modify the passed through element, the returned value is ignored.
* This is a simplified version of `wireTap(Sink)` that takes only a simple procedure.
* Elements will be passed into this "side channel" function, and any of its results will be ignored.
*
* This operation is useful for inspecting the passed through element, usually by means of side-effecting
* operations (such as `println`, or emitting metrics), for each element without having to modify it.