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)
NULL
(invisibly)
Named list of arguments to mirai::daemon()
.
Character of length 1, name of the launcher.
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.
Character of length 1 to uniquely identify the current instance of the worker.
Other utility:
crew_assert()
,
crew_clean()
,
crew_deprecate()
,
crew_eval()
,
crew_random_name()
,
crew_retry()
,
crew_terminate_process()
,
crew_terminate_signal()