4 ms·
A Promise-based API doesn't block the event loop, but a synchronous one like fs.readFileSync does. Their usage might look similar but their semantics differ vas
by yberreby 5y ago
A Promise-based API doesn't block the event loop, but a synchronous one like fs.readFileSync does. Their usage might look similar but their semantics differ vastly.
- timdaub 5y agoFair enough. OP was talking about intuitive non-blocking APIs and I just considered "intuitive".