A TypeScript library providing enhanced timeout functions compatible with async/await patterns.
Go to file
2019-11-03 16:56:17 +01:00
test fix(core): update 2019-11-03 16:56:17 +01:00
ts fix(CI): switch to new build stack 2018-08-08 23:25:48 +02:00
.gitignore add implementation 2017-01-16 14:54:08 +01:00
.gitlab-ci.yml BREAKING CHANGE(switch scope): update 2018-07-06 14:20:56 +02:00
npmextra.json fix(CI): switch to new build stack 2018-08-08 23:25:48 +02:00
package-lock.json fix(core): update 2019-11-03 16:56:17 +01:00
package.json fix(core): update 2019-11-03 16:56:17 +01:00
README.md BREAKING CHANGE(switch scope): update 2018-07-06 14:20:56 +02:00
tslint.json initial 2017-01-15 22:56:29 +01:00

@pushrocks/smartdelay

timeouts for the async/await era, written in TypeScript

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

import * as smartdelay from 'smartdelay';

(async () => {
  await smartdelay.delayFor('3000'); // excution will halt here 3 seconds for this function scope BUT NOT BLOCK anything else
  console.log();
})();

npm