Thursday, December 30, 2021

Difference between synchoronus js and asynchoronus js

 --In synchoronus js code is execute line by line by one thread. 

--In asynchoronus js code is execute in background.

   -- We pass in callback that run once the function has finished its works.

   --Move on immediate : Non-blocking.

No comments:

Post a Comment

Testing controller

------Controller------------- @RestController @RequestMapping("/items") public class ItemController {     private final ItemServic...