예제 #1
0
 public void Enqueue(Work work)
 {
     _channel.Writer.TryWrite(work);
 }
예제 #2
0
 public void Enqueue(Work work)
 {
     _workQueue.Enqueue(work);
     _syncSource.TrySetResult(true);
 }