Novelty Palliates Malaise
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

promise-pause-timeout

1.0.0 • Public • Published

Promise pause timeout

It could be useful when you need to make pause in promise pipeline

NPM

npm version Build Status Coverage Status Linux Build Windows Build

Dependency Status devDependency Status NSP Status

License GitHub stars GitHub forks GitHub issues Twitter

Installation

npm i -S promise-pause-timeout

Example

const pause = require('promise-pause-timeout');

(async () => {
    
    const data1 = await fetch(url1);
    await pause(1000);
    const data2 = await fetch(url2);
    
})();

install

npm i promise-pause-timeout

Downloadsweekly downloads

39

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability