crew_worker {crew} | R Documentation |
Launches a crew
worker which runs a mirai
daemon.
Not a user-side function. Users should not call crew_worker()
directly. See launcher plugins like crew_launcher_local()
for examples.
crew_worker(
settings,
launcher,
worker,
instance,
options_metrics = crew::crew_options_metrics()
)
settings |
Named list of arguments to |
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. |
options_metrics |
Either |
NULL
(invisibly)
Other utility:
crew_assert()
,
crew_clean()
,
crew_deprecate()
,
crew_eval()
,
crew_random_name()
,
crew_retry()
,
crew_terminate_process()
,
crew_terminate_signal()