1.0.2 • Published 5 months ago

@ameganix/sleep v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months 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

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago