try-thread-sleep
Use thread-sleep if native compilation succeeded, otherwise it's a noop
Installation
npm install try-thread-sleep
Usage
var sleep = ; if !sleepnative console; // this next line will take roughly 1 second if native compilation succeeded,// otherwise it will be almost instant.;
License
MIT