<PackageReference Include="System.IO.Pipelines" Version="11.0.0-preview.7.26381.103" />

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)