pause method
void
pause()
pause of the queue It will be pause the queue if it has not yet been executed.
Implementation
void pause() {
isPause = true;
}
pause of the queue It will be pause the queue if it has not yet been executed.
void pause() {
isPause = true;
}