dist/flow.js
function () {
      // Make sure we don't start too many uploads at once
      var ret = this._shouldUploadNext();
      if (ret === false) {
        return;
      }
      // Kick off the queue
      this.fire('uploadStart');
      var started = false;
      for (var num = 1; num <= this.opts.simultaneousUploads - ret; num++) {
        started = this.uploadNextChunk(true) || started;
      }
      if (!started) {
        async(function () {
          this.fire('complete');
        }, this);
      }
    }
function () {
      // Make sure we don't start too many uploads at once
      var ret = this._shouldUploadNext();
      if (ret === false) {
        return;
      }
      // Kick off the queue
      this.fire('uploadStart');
      var started = false;
      for (var num = 1; num <= this.opts.simultaneousUploads - ret; num++) {
        started = this.uploadNextChunk(true) || started;
      }
      if (!started) {
        async(function () {
          this.fire('complete');
        }, this);
      }
    }
function ( ) { // Make sure we don't start too many uploads at once var ret = this . _shouldUploadNext ( ) ; if ( ret === false ) { return ; } // Kick off the queue this . fire ( 'uploadStart' ) ; var started = false ; for ( var num = 1 ; num <= this . opts . simultaneousUploads - ret ; num ++ ) { started = this . uploadNextChunk ( true ) || started ; } if ( ! started ) { async ( function ( ) { this . fire ( 'complete' ) ; } , this ) ; } }
Start or resume uploading.
@function
Start or resume uploading .