code: function delay() {
      return function delayImpl(time, complete) {
        var cy = this._private.cy || this;
  
        if (!cy.styleEnabled()) {
          return this;
        }
  
        return this.animate({
          delay: time,
          duration: time,
          complete: complete
        });
      };
    }
docs: clearQueue