polite

1.0.1 • Public • Published

polite

NPM

Ensure that a length of time has passed between calls (e.g. requests to a service)

Usage

var polite = require('polite');
 
polite.whenAlright([], function() {
    makeCall();
});

Polite can be used as a local.

var Polite = require('polite').Polite;
var polite = new Polite();
 
polite.whenAlright([], function() {
    makeCall();
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    3
  • 1.0.0
    0

Package Sidebar

Install

npm i polite

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • jczimm