From 2c5a14bab843e6b9201973c941cf2261505781f0 Mon Sep 17 00:00:00 2001 From: Andrei Arlou Date: Wed, 20 Oct 2021 11:58:45 +0300 Subject: [PATCH] Use apidoc directive in general/actor-systems.md (#22904) (#30767) --- akka-docs/src/main/paradox/general/actor-systems.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-docs/src/main/paradox/general/actor-systems.md b/akka-docs/src/main/paradox/general/actor-systems.md index 922a1cbb09..e748fb4350 100644 --- a/akka-docs/src/main/paradox/general/actor-systems.md +++ b/akka-docs/src/main/paradox/general/actor-systems.md @@ -107,8 +107,8 @@ while Akka does the heavy lifting under the hood. ## Terminating ActorSystem When you know everything is done for your application, you can have the user guardian - actor stop, or call the `terminate` method of `ActorSystem`. That will run @ref:[`CoordinatedShutdown`](../coordinated-shutdown.md) + actor stop, or call the @scala[@scaladoc[terminate](akka.actor.typed.ActorSystem#terminate():Unit)]@java[@javadoc[terminate()](akka.actor.typed.ActorSystem#terminate())] method of @apidoc[ActorSystem](typed.ActorSystem). That will run @ref:[`CoordinatedShutdown`](../coordinated-shutdown.md) stopping all running actors. -If you want to execute some operations while terminating `ActorSystem`, +If you want to execute some operations while terminating @apidoc[ActorSystem](typed.ActorSystem), look at @ref:[`CoordinatedShutdown`](../coordinated-shutdown.md).