So, what is asynchronous programming?
Asynchronous programming is an important paradigm in software engineering.
Together with concurrent execution, they allow for multiple pieces of code to run simultaneously.
This is quite natural in computer software: you can listen to music on your laptop while browsing a website and downloading files.
Asynchronous programming allows several functions or methods of your code to be executed simultaneously, just like you are executing several programs in the same time.
There are many concepts and technologies, which implement asynchronous code execution:
multithreading, background tasks, promises, forked processes, web workers, service workers, and others.
In this video we review the following topics:
- Overview of Asynchronous Programming
- Live Demo – Concurrent Execution Using Web Workers
- Live Demo – Fetching Resources Asynchronously