crew_queue: Create a 'crew' queue object.

View source: R/crew_queue.R

crew_queueR Documentation

Create a crew queue object.

Description

Create an R6 crew queue object.

Usage

crew_queue(data = character(0L), step = 1000L)

Arguments

data

Character vector of initial queue data.

step

Positive integer with the number of elements to extend the queue on each call to the extend() method.

Details

A crew queue is a classical first-in-first-out data structure that extends itself in chunks (of size step) to avoid overhead. crew uses queues to efficiently track the names of resolved tasks and backlogged tasks.

Value

A queue object.

See Also

Other queue: crew_class_queue


crew documentation built on June 9, 2025, 5:09 p.m.