What determines which Javascript functions are blocking vs non-blocking?
- by Sean
I have been doing web-based Javascript (vanilla JS, jQuery, Backbone, etc.) for a few years now, and recently I've been doing some work with Node.js. It took me a while to get the hang of "non-blocking" programming, but I've now gotten used to using callbacks for IO operations and whatnot.
I understand that Javascript is single-threaded by nature.…