JavaScript asynchronous functions and error handling
What is asynchronous I/O?
The web services I build spend most of their time doing one of these two classes of things:
- Processing – Burning CPU cycles calculating things. For example JSON parsing, HTML rendering, image processing, etc.
- I/O – Waiting for some event external to the CPU/RAM system to finish. For example an HTTP request or DNS request.
Comments Off on JavaScript asynchronous functions and error handling