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