Node.jsAsynchronous programming


Introduction

Node is a programming language where everything could run on an asynchronous way. Below you could find some examples and the typical things of asynchronous working.

Syntax

  • doSomething([args], function([argsCB]) { /* do something when done */});
  • doSomething([args], ([argsCB]) => { /* do something when done */ });