Total 3 Posts

## Guide to the Future Interface in Java

### Introduction

In this article, we will overview the functionality of the Future interface as one of Java's concurrency constructs. We'll also look at several ways to create an asynchronous task, because a Future is just a way to represent the result of an asynchronous computation.

The java.util.concurrent package

## Converting Callbacks to Promises in Node.js

### Introduction

A few years back, callbacks were the only way we could achieve asynchronous code execution in JavaScript. There were few problems with callbacks and the most noticeable one was "Callback hell".

With ES6, Promises were introduced as a solution to those problems. And finally, the async/await