Collections.Queue
Purpose
Section titled “Purpose”FIFO collection for producer/consumer style workflows.
Candidate surface
Section titled “Candidate surface”Queue<T>.Enqueue(T value) -> unitQueue<T>.TryDequeue() -> Result<T, QueueError>Queue<T>.Count() -> i64
- Capacity and growth strategy should be explicit.
- Blocking behavior belongs to runtime/threading APIs, not base queue APIs.