pekko icon indicating copy to clipboard operation
pekko copied to clipboard

Don't use Scala Futures in Java APIs

Open raboof opened this issue 1 year ago • 1 comments

Sketching out #1417 - incomplete and notably not bothering with binary compatibility yet, just to illustrate the idea.

raboof avatar Jul 30 '24 07:07 raboof

Not sure if this is related but there are methods like actorSystem.terminate which return a Future which should instead for Java be returning a completion stage (although I am not sure of what the nice way of doing this is since there isn't an actor system dsl).

mdedetrich avatar Aug 24 '24 13:08 mdedetrich

@raboof Would you like to continue this? AsyncRecoveryPlugin and etcs should use Java's CompletionStage.

He-Pin avatar Aug 24 '25 09:08 He-Pin

#2092 took most of what was in this PR.

pjfanning avatar Aug 25 '25 22:08 pjfanning