Learn R Programming

crew (version 0.5.0)

crew_worker: Crew worker.

Description

Launch a crew worker which runs a mirai daemon.

Usage

crew_worker(settings, launcher, worker, instance)

Value

NULL (invisibly)

Arguments

settings

Named list of arguments to mirai::daemon().

launcher

Character of length 1, name of the launcher.

worker

Positive integer of length 1, index of the worker. This worker index remains the same even when the current instance of the worker exits and a new instance launches.

instance

Character of length 1 to uniquely identify the current instance of the worker.

See Also

Other utilities: crew_assert(), crew_deprecate(), crew_eval(), crew_random_name(), crew_retry()