Various scala-2.13.0-M5 fixes
Clearer imports in TcpDnsClient Accept SVG's when checking if diagrams were generated Fix akka-actor MiMa issues akka-testkit scalafix changes Update scalatest to 2.13-released snapshot akka-stream scalafix changes Update ssl-config To version that's released with -M5 Take elements directly out of buffer Manually fix immutable.Seq / Doc link Make sure the right Concat, Sink is imported akka-stream binary compat akka-stream-testkit scalafix akka-actor-tests scalafix Eta-expensions
This commit is contained in:
parent
10575ce8c5
commit
0cc8e20a2e
31 changed files with 102 additions and 60 deletions
|
|
@ -186,7 +186,10 @@ import scala.util.control.NonFatal
|
|||
override def offer(element: T): Future[QueueOfferResult] = {
|
||||
val p = Promise[QueueOfferResult]
|
||||
callback.invokeWithFeedback(Offer(element, p))
|
||||
.onFailure { case NonFatal(e) ⇒ p.tryFailure(e) }(akka.dispatch.ExecutionContexts.sameThreadExecutionContext)
|
||||
.onComplete {
|
||||
case scala.util.Failure(NonFatal(e)) ⇒ p.tryFailure(e)
|
||||
case _ ⇒ ()
|
||||
}(akka.dispatch.ExecutionContexts.sameThreadExecutionContext)
|
||||
p.future
|
||||
}
|
||||
override def complete(): Unit = callback.invoke(Completion)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue