pjfanning opened a new issue, #2093:
URL: https://github.com/apache/pekko/issues/2093

   See https://github.com/apache/pekko/pull/1419#issuecomment-2308390446
   
   terminate() returns a Scala Future
   
   In theory, users can ignore the return value from terminate() and call this:
   
https://pekko.apache.org/japi/pekko/current/org/apache/pekko/actor/ActorSystem.html#getWhenTerminated()
   
   Maybe, we could also add `terminateWithCompletionStage` that returns 
`CompletionStage<Terminated>`?
   
   Interestingly, the actor-typed ActorSystem has a `void` return type on 
`terminate()`.
   You have 
https://pekko.apache.org/japi/pekko/current/org/apache/pekko/actor/typed/ActorSystem.html#getWhenTerminated()
 for Java users.


-- 
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]

Reply via email to