pub type JobEnds = Arc<dyn Fn(JobEnd) + Send + Sync>;
Sees every job end (not those stopped by the host’s shutdown).
pub struct JobEnds { /* private fields */ }