0.11.8 • Published 6 months ago

@types/bluebird-retry v0.11.8

Weekly downloads
5,165
License
MIT
Repository
github
Last release
6 months 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

6 months ago

0.11.6

8 months ago

0.11.7

7 months ago

0.11.5

3 years ago

0.11.4

5 years ago

0.11.3

5 years ago

0.11.2

6 years ago

0.11.1

6 years ago

0.11.0

6 years ago

0.0.33

7 years ago

0.0.32

7 years ago

0.0.31

7 years ago

0.0.30

8 years ago

0.0.29

8 years ago

0.0.28-alpha

8 years ago

0.0.27-alpha

8 years ago

0.0.26-alpha

8 years ago

0.0.25-alpha

8 years ago

0.0.24-alpha

8 years ago

0.0.23-alpha

8 years ago

0.0.22-alpha

8 years ago

0.0.17-alpha

8 years ago

0.0.16-alpha

8 years ago