alsoTo eager cancellation #24291

This commit is contained in:
jeremystone 2018-02-19 07:31:13 +00:00 committed by Johan Andrén
parent 28ae8d4f0e
commit e766207a87
11 changed files with 59 additions and 26 deletions

View file

@ -1137,7 +1137,7 @@ class SubSource[+Out, +Mat](delegate: scaladsl.SubFlow[Out, Mat, scaladsl.Source
*
* '''Completes when''' upstream completes
*
* '''Cancels when''' downstream cancels
* '''Cancels when''' downstream or Sink cancels
*/
def alsoTo(that: Graph[SinkShape[Out], _]): SubSource[Out, Mat] =
new SubSource(delegate.alsoTo(that))