@types/bluebird-retry
TypeScript icon, indicating that this package has built-in type declarations

0.11.8 • Public • Published

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

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: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: @types/bluebird

Credits

These definitions were written by Pascal Vomhoff.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/bluebird-retry

Weekly Downloads

2,523

Version

0.11.8

License

MIT

Unpacked Size

3.78 kB

Total Files

5

Last publish

Collaborators

  • types