<PackageReference Include="System.Threading.Channels" Version="11.0.0-preview.3.26207.106" />

System.Collections.Concurrent.SingleProducerSingleConsumerQueue<T>

public int Count { get; }

public bool IsEmpty { get; }

public void Clear()

public void Enqueue(T item)

public bool TryDequeue(out T result)

public bool TryDequeueIf(Predicate<T> predicate, out T result)

public bool TryPeek(out T result)