3 ms·
If js had async/await from the beginning there would have been no need for the callback version. Also the sync apis would exist in any case because of the event
by francasso 5y ago
If js had async/await from the beginning there would have been no need for the callback version. Also the sync apis would exist in any case because of the event based architecture of node and the fact that at times you don't want to release control back to the event loop.