比如下面两种写法的区别:
第一种写法: await _webSocket.ReceiveAsync();
第二种写法:Task res = _webSocket.ReceiveAsync();
res.wait();
参考: