1.0.2 • Published 2 years ago

@ameganix/sleep v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Sleep

Interrupts execution for the specified number of ms

Installing

Package manager

Using npm:

$ npm install @ameganix/sleep

Using yarn:

$ yarn add @ameganix/sleep

Once the package is installed, you can import the function using require approach:

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

Example

await sleep(1000);
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago