예제 #1
0
 private async void ThreadPoolSendTest(object obj)
 {
     if (obj is MqttApplicationMessage message)
     {
         for (int i = 0; i < 100; i++)
         {
             await mqttClient.PublishMessageAsync(message);
         }
     }
 }