Changes the state of a background job.
Usage
jobSetState(
job,
state = c("idle", "running", "succeeded", "cancelled", "failed")
)States
The following states are supported:
- idle
The job is waiting to run.
- running
The job is actively running.
- succeeded
The job has finished successfully.
- cancelled
The job was cancelled.
- failed
The job finished but did not succeed.