public SingleConsumerUnboundedChannel() { items = new Queue <T>(); Writer = new SingleConsumerUnboundedChannelWriter(this); readerSource = new SingleConsumerUnboundedChannelReader(this); Reader = readerSource; }
public ReadAllAsyncEnumerable(SingleConsumerUnboundedChannelReader parent, CancellationToken cancellationToken) { this.parent = parent; this.cancellationToken1 = cancellationToken; }