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:
parent
26cd916d98
commit
3dc0adb4e9
9 changed files with 355 additions and 32 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue