internal async Task SendCommandAsyncInternal(Command c) { await _comm.WriteAsync(c.ToBytes()); if (c.CommandType == CommandType.DirectReply || c.CommandType == CommandType.SystemReply) { await ResponseManager.WaitForResponseAsync(c.Response); } }
internal async Task SendCommandAsyncInternal(Command c) { await _comm.WriteAsync(c.ToBytes()); if(c.CommandType == CommandType.DirectReply || c.CommandType == CommandType.SystemReply) await ResponseManager.WaitForResponseAsync(c.Response); }