title: Vue: Turning method into promise?
body: <p>I am using Dropzone to process images.  I am manually calling the image processing on a button click so inside a function called <code>submitAssets()</code>, I am doing this:</p>
  
  <pre><code>submitAssets: function() {
     this.$refs.dropzoneReference.processQueue();
     axios.get('/users')
  }
  </code></pre>
  
  <p>Part of the processQueue call in dropzone hits my backend and saves the image url to the user object.<br>
  The problem is the axios call gets the info from the users object but the image has not been processed yet and saved to the DB.  Is there a way I can make that a Promise so that the axios call does not get called until processQueue is finished?</p>