CoxWorker function

R6 class for object to use as a worker with CoxMaster master objects