IQueue<T>.Dequeue Method
Removes and returns the element at the beginning of the queue.
public
function Dequeue: T;
Return Value
Type: T
The element that is removed from the beginning of the queue.
This will return nil to prevent a dangling reference if the queue has ownership over the instances.