Returns the task id that each worker is working on, if any.
rrq_worker_task_id(worker_ids = NULL, controller = NULL)
Optional vector of worker ids. If NULL
then
all active workers are used.
The controller to use. If not given (or NULL
)
we'll use the controller registered with
rrq_default_controller_set()
.
A character vector, NA
where nothing is being worked on,
otherwise corresponding to a task id.