Tag: Promises

  • Javascript Promises – The Definitive Guide

    The single-threaded, event-loop based concurrency model of JavaScript, deals with processing of events using so-called “asynchronous non-blocking I/O model.” Unlike computer languages such as Java, where events are handled using additional threads, processed in parallel with the main execution thread, JavaScript code is executed sequentially. In order to prevent blocking the main thread on I/O-bound…

    Ivan Jovanovic
  • Making Promises safer in Node.js

    Making Promises safer in Node.js

    Promises can be a powerful choice for a Node.js project, but there are some pitfalls to be aware of.

    Matteo Collina
  • Top