synchronous code is executed in sequence – each statement waits for the previous statement to finish before executing.

Asynchronous code doesn’t have to wait – your program can continue to run. You do this to keep your site or app responsive, reducing waiting time for the user.

网友评论