/**
* Cede control to the event loop for one tick, from within an async function.
*
* Usage:
*
* // ... slow stuff...
* await tick() // will cede control
* // ... slow stuff...
*/exportfunctiontick () {
returnnewPromise(resolve =>setTimeout(resolve, 0))
}