JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 350
  • Score
    100M100P100Q12279F
  • License MIT

timeouts for the async/await era, written in TypeScript

Package Exports

  • @pushrocks/smartdelay

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pushrocks/smartdelay) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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