News for hackers. Stuff that matters.
Re:Let’s make a JavaScript Wait function by iEchoic on Sunday November 12, 2017 @09:24PM (#15683806)
Yup, Bluebird has allowed for:

  await Promise.delay(1000);
For as long as I can remember. I'm surprised Bluebird isn't more widely-adopted; it's been way better than native promises for at least 2 years now. The transform-async-to-module-method plugin with Bluebird is the way to go.

There are no comments on this comment yet.