crew_controller_sequential: Create a sequential controller.

View source: R/crew_controller_sequential.R

crew_controller_sequentialR Documentation

Create a sequential controller.

Description

The sequential controller runs tasks on the same R process where the controller object exists. Tasks run sequentially rather than in parallel.

Usage

crew_controller_sequential()

See Also

Other sequential controllers: crew_class_controller_sequential

Examples

if (identical(Sys.getenv("CREW_EXAMPLES"), "true")) {
controller <- crew_controller_sequential()
controller$push(name = "task", command = sqrt(4))
controller$pop()
}

crew documentation built on April 11, 2025, 6:17 p.m.