Queues for Motoko A collection of elements that are maintained in a sequence. The operations of a queue make it a first-in-first-out (FIFO) data structure.