44
46
// reached, the job will be run immediately. Otherwise it will be
45
47
// added to the queue. Return value is a function that, when
46
48
// called, cancels the job in the queue (if it's still in the queue).
49
51
// Notify that a job has completed. If there are queued jobs,
50
52
// start the one at the head of the queue.