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

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