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?