Nodejs Wait Event Loop para terminar

await new Promise(process.nextTick);
florinrelea