title: passport.js and process.nextTick in strategy
body: <p>I'm facing something new in nodeJS: <code>process.nextTick</code></p>
  
  <p>In some strategies code examples for passport.js, we can see</p>
  
  <pre><code>passport.use(new LocalStrategy(
    function (username, password, done) {
  
      // asynchronous verification, for effect...
      process.nextTick(function () {
  
        findByUsername(username, function (err, user) {
          // ...
          bcrypt.compare(password, user.password, function (err, res) {
            // ...
          });
        })
      });
    }
  ));
  </code></pre>
  
  <p>But in the official documentation, it is not used. (<a href="http://passportjs.org/guide/username-password/" rel="noreferrer">http://passportjs.org/guide/username-password/</a>)</p>
  
  <p>What I understand is that <code>process.nextTick</code> should be used to defer synchronous stack to not block an event. But in this strategy code, there is no event.</p>
  
  <p>What the benefit of doing that here ?</p>