dequeue: Get the Next Queue Element

View source: R/queue.R

dequeueR Documentation

Get the Next Queue Element

Description

Return the next queue element and remove it from the queue

Usage

dequeue(x, ...)

Arguments

x

a queue object

...

arguments passed to other methods

Details

Return the head of the queue while also removing the element from the queue

Value

An R object representing the head of the queue


rdpeng/queue documentation built on June 9, 2022, 11:27 a.m.