pause method

void pause()

暂停队列(不再执行新请求,但正在执行的请求会继续)

Implementation

void pause() {
  _isPaused = true;
  _notifyStatusChange();
}