News for hackers. Stuff that matters.
Re:After a year of using Node.js in production by spion on Monday May 02, 2016 @07:27PM (#11616626)
If otherThings is unrelated, you could also do this:

    var username = getUsername();
    var resultSent = username.then(username => res.send("Hi "+username"))
    var otherThings = doOtherThings()
    return Promise.all([resultSent, otherThings])

There are no comments on this comment yet.