peek: Get the next element of the queue

View source: R/queue.R

peekR Documentation

Get the next element of the queue

Description

Return the next element of the queue

Usage

peek(x, ...)

Arguments

x

a queue object

...

arguments passed to other methods

Value

the value of the head of the queue

Note

For job_queue objects this returns the next element of the input queue


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