rrq_worker_exists: Test if a worker exists

View source: R/rrq_workers.R

rrq_worker_existsR Documentation

Test if a worker exists

Description

Test if a worker exists

Usage

rrq_worker_exists(name, controller = NULL)

Arguments

name

Name of the worker

controller

The controller to use. If not given (or NULL) we'll use the controller registered with rrq_default_controller_set().

Value

A logical value

Examples


obj <- rrq_controller("rrq:example")
w <- rrq_worker_list(controller = obj)
rrq_worker_exists(w, controller = obj)
rrq_worker_exists("bob-the-builder", controller = obj)


richfitz/rrq documentation built on July 15, 2024, 8:12 p.m.