async vs sync

2020-07-28  本文已影响0人  Time_Notes

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

sync loading

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.

async loading
上一篇 下一篇

猜你喜欢

热点阅读