mdedetrich commented on issue #2093: URL: https://github.com/apache/pekko/issues/2093#issuecomment-3222991578
> [@pjfanning](https://github.com/pjfanning) [@mdedetrich](https://github.com/mdedetrich) Add a `terminateWithCompletionStage` is ok too, as there is something like that everywhere: > > ``` > def invokeWithFeedbackCompletionStage(t: T): CompletionStage[Done] = { > import pekko.util.FutureConverters._ > invokeWithFeedback(t).asJava > } > ``` This is just a bandaid. The ideal state is that for the `javadsl`, no method accepts/returns a `Future` and for a `scaladsl` no method accepts/returns a `CompletionStage`. I will work on a PR later on in the week and also explain my intentions (I want to work on a `kotlindsl` and that only works when we have properly split out dsl's) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
