=str #17191 mapAsyncUnordered shall terminate after resume
This commit is contained in:
parent
386ff80a0e
commit
7681c557f7
3 changed files with 22 additions and 1 deletions
|
|
@ -468,6 +468,7 @@ private[akka] final case class MapAsyncUnordered[In, Out](parallelism: Int, f: I
|
|||
def ignoreOrFail(ex: Throwable) =
|
||||
if (decider(ex) == Supervision.Stop) ctx.fail(ex)
|
||||
else if (ctx.isHoldingUpstream) ctx.pull()
|
||||
else if (ctx.isFinishing && todo == 0) ctx.finish()
|
||||
else ctx.ignore()
|
||||
|
||||
inFlight -= 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue