Open sandervandegeijn opened 3 years ago
Would be nice to have those so calls can be awaited. :)
I wrap them like this to await the ones I need: private async Task _writeSingleCoilAsync(int address, bool value) { await Task.Run(() => _modbus.WriteSingleCoil(address, value)); }
private async Task _writeSingleCoilAsync(int address, bool value) { await Task.Run(() => _modbus.WriteSingleCoil(address, value)); }
Would be nice to have those so calls can be awaited. :)