public static async Task AppServerGracefulShutdownThenRestartAsync()

in src/Libs/Common/Extensions/MessageClientExtensions.cs [100:105]


        public static async Task<CommandMessage> AppServerGracefulShutdownThenRestartAsync(this IMessageClient client, string serverId)
        {
            var message = new CommandMessage { Command = Commands.AppServer.GracefulShutdown };
            await client.SendCommandAsync(serverId, message);
            return message;
        }