title: Asynchronous Function how to?
body: <p>I'm discovering Express and Asynchronous / Functionnal </p>
  
  <pre><code>app.get('/users/:id', (req, res) =&gt; {
    let id = req.params.id;
    let User = require('../models/user')
    User.is_complete(id, (validate) =&gt; {
      console.log(validate)
    })
    User.find(id, (user) =&gt; {
      console.log(user)
      res.render('users/index', {user: user, validate: validate})
    })
  })
  </code></pre>
  
  <p>I would like to render the view with 2 variables:
  validate of User.is_complete and user of User.find</p>
  
  <p>How could I do that?</p>
  
  <p>Thank you.</p>