Test if a worker exists
Arguments
- name
Name of the worker
- controller
The controller to use. If not given (or
NULL
) we'll use the controller registered withrrq_default_controller_set()
.
Examples
obj <- rrq_controller("rrq:example")
w <- rrq_worker_list(controller = obj)
rrq_worker_exists(w, controller = obj)
#> [1] TRUE
rrq_worker_exists("bob-the-builder", controller = obj)
#> [1] FALSE