예제 #1
0
 internal BoundedChannelReader(BoundedChannel <T> parent)
 {
     _parent          = parent;
     _readerSingleton = new AsyncOperation <T>(parent._runContinuationsAsynchronously, pooled: true);
     _waiterSingleton = new AsyncOperation <bool>(parent._runContinuationsAsynchronously, pooled: true);
 }
예제 #2
0
 internal BoundedChannelReader(BoundedChannel <T> parent) => _parent = parent;