tri

1.0.2 • Public • Published

tri

Build Status NPM version

Try to execute a JavaScript function

Installation

npm install tri --save

Usage

const tri = require('tri');
 
tri(function() {
  return Promise.resolve();
}, {
  maxAttempts: 0,
  delay: 100,
  factor: 2,
  jitter: true
});

Readme

Keywords

Package Sidebar

Install

npm i tri

Weekly Downloads

68

Version

1.0.2

License

MIT

Last publish

Collaborators

  • philidem
  • austinkelleher