How does node realize blocking, that is, sleep?

  node.js, question

The version of Node used is 4.5

Direct on Linux:

npm install sleep


var sleep = require('sleep');

On Windows, install VS to get MSBuild before executing this command.

P.s. it specifies a version of V110 (VS2010), but if you install an updated version, you can make a copy and change it to V110.