Propagate downstream cancellation failures (#27547)
* Add doc clarification about IOResult on sources * Better error message for IOOperationIncompleteException Co-Authored-By: Johannes Rudolph <johannes.rudolph@gmail.com>
This commit is contained in:
parent
4020036eb6
commit
ed955e0da4
40 changed files with 345 additions and 145 deletions
|
|
@ -152,7 +152,7 @@ import scala.concurrent.{ Future, Promise }
|
|||
|
||||
setHandler(out, this)
|
||||
|
||||
override def onDownstreamFinish(): Unit = {
|
||||
override def onDownstreamFinish(cause: Throwable): Unit = {
|
||||
pendingOffer match {
|
||||
case Some(Offer(_, promise)) =>
|
||||
promise.success(QueueOfferResult.QueueClosed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue