-
Notifications
You must be signed in to change notification settings - Fork 182
Open
Milestone
Description
See #1419 (comment)
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.
He-Pin
Metadata
Metadata
Assignees
Labels
No labels