code: function dispose() {
          if (this.disposed || !this.currentDisposable) {
              return;
          }
          this.disposed = true;
  
          // If the current disposable fulfills the disposable interface or just
          // a disposable function.
          var currentDisposable = this.currentDisposable;
          if (currentDisposable.dispose) {
              currentDisposable.dispose();
          }
  
          else {
              currentDisposable();
          }
      }
docs: Disposes of the current disposable.  This would be the getRequestCycle
  disposable.