raboof commented on issue #2093: URL: https://github.com/apache/pekko/issues/2093#issuecomment-3425175604
Another option for 2.x might be to: * keep `ActorSystem` shared between javadsl and scaladsl * have it implement `https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html` to trigger closing (non-blocking) * mention in the javadoc of `close()` that you can await the result of closing using `getWhenClosed()` (javadsl) or `whenClosed()` (scaladsl). * deprecate `terminate` methods in favor these -- 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]
