| Parameter | Description |
|---|---|
| allocator | The allocator to use. |
NativeArray<T> An array containing a copy of this queue's content. The elements are ordered in the same order they were enqueued, "e.g." the earliest enqueued element is copied to index 0 of the array.
Returns an array containing a copy of this queue's content.