title: Node.js: rimraf not executing asynchronously
body: <p>I am a newbie and am breaking my head over a call that does not seem to be executing asynchronously. Is there something I am doing wrong?</p>
  
  <pre><code>var rimraf = require('rimraf');
  
  var myDir= "C:\\DeleteMe";
  
  function doStuff(cb) {
      rimraf(myDir, function (err) {
          console.log("done delete");
          return cb(null);
      });
  
      console.log("after rimraf");
  }
  
  doStuff(function(){
      console.log("done");
  });
  </code></pre>
  
  <p>The output I get from this is </p>
  
  <pre><code>after rimraf
  done delete
  done
  </code></pre>
  
  <p>Any idea what is happening?</p>