摘要: channel中也是有一个ConcurrentQueue来维护的 using System.Threading.Channels; var channel = Channel.CreateUnbounded<Message>(); //在赋值的时候,两个Task就开始执行了,下面的await就是为了 阅读全文