clear method
void
clear()
Removes all jobs from the queue.
This is useful when you want to discard all the jobs in the queue and start over with a fresh queue.
Implementation
void clear() {
_jobs.clear();
}
Removes all jobs from the queue.
This is useful when you want to discard all the jobs in the queue and start over with a fresh queue.
void clear() {
_jobs.clear();
}