pause method
void
pause()
Pause the limiter
When paused, no new tasks are started until resume is called. Tasks already running will continue to completion. New tasks can still be added to the queue.
Implementation
void pause() {
_isPaused = true;
}