What is asynchronous code?
Async is short for “asynchronous”. It’s easier to understand async if you first understand what “synchronous”, the opposite, means.
In programming, we can simplify the definition of synchronous code as “a bunch of statements in sequence”; so each statement in your code is executed one after the other.
This means each statement has to wait for the previous one to finish executing.
With asynchronous code execution of a lengthy process can continue while the program moves on to other processes. Multiple processes can happen at the same time. This is also known as 'multi-threading'.