1.0.7 • Published 8 years ago

retry-promise-typescript v1.0.7

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

Retry Promise for TypeScript

About

I couldn't find a simple implementation of a retrying Promise library for TypeScript, so here you go.

Usage

yarn add retry-promise-typescript
import {RetryPromise} from 'retry-promise-typescript';
import * as got from 'got';

new RetryPromise({retries: 10, log: true}).retry(got('https://www.google.com/')).then((result) => {
	console.log(result);
}, (error) => {
	console.log(error);
});

Donate BTC: 18zrUSJzvtxDmaGaThAZuR1GPMe2jwjmxW

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago