getCurrentJob
Get job object from a worker running a job
Syntax
Description
returns thej
= getCurrentJobparallel.Job
object that the current worker is associated with. UsegetCurrentJob
to get information from the job during a computation, such as the running duration or attached files.
IfgetCurrentJob
is evaluated on a worker,j
is aparallel.Job
object. Otherwise,j
is an empty double.