Open sibelius opened 8 years ago
Would be much nicer to support async await syntax ES7
async await
like this:
const user = await User.findOne({})
instead of using promises only:
let user; User.findOne({}).exec((data) => user=data);
Would be much nicer to support
async await
syntax ES7like this:
instead of using promises only: