Skip to main content

run

Function run 

Source
pub fn run(worker: impl Worker)
Expand description

The main of a worker binary: describe, validate SPEC or execute JOB_DIRECTORY. It prints its JSON answer, or exits with status 1 and {"error":{"code":"worker_error","message":...}} on standard error.