Example #1
0
 public async Task SendTelemetry(IoTDataPoint IoTDataPoint)
 {
     if (IoTDataPoint != null)
     {
         await OnInputMessageReceived(IoTDataPoint);
     }
 }
Example #2
0
 public async Task OnInputMessageReceived(IoTDataPoint IoTDataPoint)
 {
     await Task.Run(() => { InputMessageReceived?.Invoke(this, IoTDataPoint); });
 }