Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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
});

Keywords

Install

npm i tri

DownloadsWeekly Downloads

115

Version

1.0.2

License

MIT

Last publish

Collaborators

  • avatar
  • avatar