Create a sequential controller.
Source:R/crew_controller_sequential.R
crew_controller_sequential.Rd
The sequential controller runs tasks on the same R process where the controller object exists. Tasks run sequentially rather than in parallel.
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()
}