0.11.8 • Published 2 years ago

@types/bluebird-retry v0.11.8

Weekly downloads
5,165
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/bluebird-retry

Summary

This package contains type definitions for bluebird-retry (https://github.com/demmer/bluebird-retry).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bluebird-retry.

index.d.ts

// Type definitions for bluebird-retry 0.11
// Project: https://github.com/demmer/bluebird-retry
// Definitions by: Pascal Vomhoff <https://github.com/pvomhoff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2

import Promise = require('bluebird');

declare function retry<T>(func: (param: T) => void, options?: retry.Options): Promise<T>;

declare namespace retry {
    interface Options {
        interval?: number | undefined;
        backoff?: number | undefined;
        max_interval?: number | undefined;
        timeout?: number | undefined;
        max_tries?: number | undefined;
        predicate?: any;
        throw_original?: boolean | undefined;
        context?: any;
        args?: any;
    }

    class StopError extends Error {}
}

export = retry;

Additional Details

  • Last updated: Wed, 07 Jul 2021 21:45:01 GMT
  • Dependencies: @types/bluebird
  • Global values: none

Credits

These definitions were written by Pascal Vomhoff.

0.11.8

2 years ago

0.11.6

2 years ago

0.11.7

2 years ago

0.11.5

4 years ago

0.11.4

6 years ago

0.11.3

6 years ago

0.11.2

7 years ago

0.11.1

7 years ago

0.11.0

8 years ago

0.0.33

8 years ago

0.0.32

8 years ago

0.0.31

9 years ago

0.0.30

9 years ago

0.0.29

9 years ago

0.0.28-alpha

9 years ago

0.0.27-alpha

9 years ago

0.0.26-alpha

9 years ago

0.0.25-alpha

9 years ago

0.0.24-alpha

9 years ago

0.0.23-alpha

9 years ago

0.0.22-alpha

9 years ago

0.0.17-alpha

9 years ago

0.0.16-alpha

9 years ago