Await equivalent of 'Promise.resolve().then()'?

Viewed 19450

I'm familiar with Promises, but have inherited some rather unusual code that, rather than making a new Promise(), uses the following:

Promise.resolve().then(
  function() {
    // Do useful things
  }
)

From my research, this is a weird version of setImmediate - ie, run the following function on the next tick.

What would be the await version of this?

3 Answers
Related