Asynchronous and Synchronous Terms

前端 未结 5 504
遇见更好的自我
遇见更好的自我 2020-12-08 00:49

I\'m confused by the term asynchronous when related to programming. It seems to mean the opposite in programming terms as what it is defined as in the dictionary.

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 01:34

    synchronous makes the browser unresponsive until the request is complete i.e to say it will wait until the request is served, while asynchronous will allow the browser to continue processing while waiting for a response.

提交回复
热议问题