IQueue<T>.Dequeue Method

Definition

Removes the element at the beginning of the queue.

Delphi
function Dequeue: T

Returns

T

The element that was removed.

Remarks

This will return nil to prevent a dangling reference if the queue has ownership over the instances.