Handle race where broadcasthub consumer already cancelled (#23970)

* Handle race where broadcasthub consumer already cancelled #23205

* Don't use the same thread ec, import cleanup

* Complete feedback promise when async event has been executed #23953

* No need for double-deregister-guard after invokeWithFeedback was fixed.

* Test coverage for async callbacks #23953

* Updated docs on AsyncCallback #23953

* MiMa

* Completing a promise of scaladoc

* Improved test coverage and handling of async invokation failing or throwing

* MiMa

* Review updates
This commit is contained in:
Johan Andrén 2017-11-17 10:55:30 +01:00 committed by Patrik Nordwall
parent 26cd916d98
commit 3dc0adb4e9
9 changed files with 355 additions and 32 deletions

View file

@ -11,6 +11,7 @@ import akka.stream.impl.fusing.GraphInterpreter.{ Connection, DownstreamBoundary
import akka.stream.stage.{ GraphStage, GraphStageLogic, InHandler, OutHandler, _ }
import akka.stream.testkit.StreamSpec
import akka.stream.testkit.Utils.TE
import akka.util.OptionVal
import scala.collection.{ Map SMap }
import scala.language.existentials
@ -252,7 +253,7 @@ trait GraphInterpreterSpecKit extends StreamSpec {
logger,
logics,
connections,
onAsyncInput = (_, _, _) (),
onAsyncInput = (_, _, _, _) (),
fuzzingMode = false,
context = null)
_interpreter.init(null)