Skip to content

Latest commit

 

History

History

sleep

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

sleep

🛌 Block the runtime for n milliseconds

const sleep = require('@lets/sleep');

sleep(200);
// 200 milliseconds later

/* For a non blocking wait period, see @lets/wait