Skip to content

radiovisual/wait-p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wait-p Build Status

Wait for a specified amount of time, then return a promise.

Install

$ npm install --save wait-p

Usage

const wait = require('wait-p');

wait(100).then(() => {
    // 100 ms later ...
});

API

waitp(input)

input

Type: number

The amount of milliseconds you want to wait.

License

MIT © Michael Wuergler

About

Wait for a specified amount of time, then return a promise.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published