JavaScript development is inherently done as a single execution thread with gratutious use of events to prevent blocking. The end result of the most common method, callbacks, is difficult to read code and a decidedly difficult to read codebase for developers used to most blocking procedural languages. Promises, added natively to Node in the 4.x release, offer a better way to handle the parallel operation of blocking operations in an asynchronous environment.
Recorded: Thursday, September 22nd 2016
Watch video Node.js: Callbacks and Promises online without registration, duration hours minute second in high quality. This video was added by user Accusoft 05 October 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 33,39 once and liked it 23 people.