The JobInterface represents any job that can be serialized and run in a separate process via the Batch daemon.
- experimental The experimental flag means that while we believe this method or class is ready for use, it may change before release in backwards- incompatible ways. Please use with caution, and test thoroughly when upgrading.
|public abstract flush(array $items = )|
Finish any pending activity for this job.
|public abstract identifier()|
Return the job identifier
|public abstract numWorkers()|
Returns the number of workers for this job.
|public abstract run()|
Runs the job loop. This is expected to be a blocking call.