Skip to content

Glossary: Swift Beyond the Basics

queue

Also written: Queue

A line where items leave in the order they arrived (first in, first out). A generic `Queue<Element>` can hold any element type, such as orders waiting on a tablet to be sent.

Where the book teaches it