@anmiles/sleep
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

@anmiles/sleep

Asynchronous sleep

Installation

npm install @anmiles/sleep

Usage

import sleep from '@anmiles/sleep';

async main(){
	console.log('Begin');
	await sleep(500);
	console.log('Continue after 0.5s');
}

Readme

Keywords

Package Sidebar

Install

npm i @anmiles/sleep

Weekly Downloads

12

Version

4.0.1

License

MIT

Unpacked Size

8.09 kB

Total Files

22

Last publish

Collaborators

  • anmiles