3 ms·
The OP and I are talking about the C API, not the node.js API, being sync.
by zbjornson 9y ago
The OP and I are talking about the C API, not the node.js API, being sync.
- always_good 9y agoNo you weren't. Look at your first comment. You're literally relating sync in the C API with Node's API.
- zbjornson 9y agoMy first post was talking about the C API. A sync C API can be made into an async node.js API using the thread pool. That's what node does internally for DNS resolution, fs and other APIs.