Beispiel #1
0
 public static async Task StopAsync()
 {
     if (ClusterClient != null)
     {
         await ClusterClient.Close();
     }
 }
Beispiel #2
0
        public async Task StopAsync(CancellationToken cancellationToken)
        {
            _logger.LogInformation("Disconnecting...");

            await ClusterClient.Close();

            _logger.LogInformation("Disconnected.");
        }