crew_class_queue | R Documentation |
R6
queue classR6
class for a queue of resolved task names.
See crew_queue()
.
names
Names of resolved tasks.
head
Non-negative integer pointing to the location of the next name to pop.
validate()
Validate the queue.
crew_class_queue$validate()
NULL
(invisibly). Called for its side effects.
reset()
Reset the queue.
crew_class_queue$reset()
NULL
(invisibly). Called for its side effects.
set()
Set the names in the queue.
crew_class_queue$set(names = character(0L))
names
Character vector of names to set.
NULL
(invisibly). Called for its side effects.
pop()
Pop a name off the queue.
crew_class_queue$pop()
Character string, a name popped off the queue.
NULL
if there are no more names available to pop.
collect()
Remove and return all available names off the queue.
crew_class_queue$collect()
Character vector, names collected from the queue.
NULL
if there are no more names available to collect.
empty()
Report if the queue is empty.
crew_class_queue$empty()
TRUE
if the queue is empty, FALSE
otherwise.
nonempty()
Report if the queue is nonempty.
crew_class_queue$nonempty()
TRUE
if the queue is nonempty, FALSE
otherwise.
popped()
List the names already popped.
crew_class_queue$popped()
set()
, reset()
, and collect()
remove these names.
Character vector of names already popped.
Other queue:
crew_queue()
crew_queue()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.