Type of elements within source.
The source iterable.
Optionalcomparator: EqualityComparator<TElement, TElement>Optional equality comparator used by the resulting queue.
An immutable circular queue containing the most recent elements from source, up to the default capacity.
Materialises source into an immutable circular queue with the specified capacity.
Type of elements within source.
The source iterable.
Maximum number of elements retained by the resulting queue.
Optionalcomparator: EqualityComparator<TElement, TElement>Optional equality comparator used by the resulting queue.
An immutable circular queue containing the most recent elements from source, bounded by capacity.
Materialises source into an immutable circular queue that uses the implementation's default capacity.