Example #1
0
        /// <summary>
        /// Graceful Leaveand Shutdown
        /// </summary>
        private static void GracefulLeaveandShutdown()
        {
            var agentGovern = new AgentGovern();
            var result      = agentGovern.GracefulLeaveAndShutdown().GetAwaiter().GetResult();

            Console.WriteLine($"result={result.result}");
            Console.WriteLine($"back content={result.backJson}");
        }