1.4.9 • Published 3 months ago

@types/async-retry v1.4.9

Weekly downloads
95,684
License
MIT
Repository
github
Last release
3 months ago

Installation

npm install --save @types/async-retry

Summary

This package contains type definitions for async-retry (https://github.com/zeit/async-retry#readme).

Details

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

index.d.ts

// Type definitions for async-retry 1.4
// Project: https://github.com/zeit/async-retry#readme
// Definitions by: Albert Wu <https://github.com/albertywu>
//                 Pablo Rodríguez <https://github.com/MeLlamoPablo>
//                 Rafał Sawicki <https://github.com/rafsawicki>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import { WrapOptions } from 'retry';

declare function AsyncRetry<A>(
    fn: AsyncRetry.RetryFunction<A>,
    opts?: AsyncRetry.Options
): Promise<A>;

declare namespace AsyncRetry {
    interface Options extends WrapOptions {
        onRetry?: ((e: Error, attempt: number) => any) | undefined;
    }

    type RetryFunction<A> = (bail: (e: Error) => void, attempt: number) => A|Promise<A>;
}

export = AsyncRetry;

Additional Details

  • Last updated: Tue, 26 Apr 2022 19:31:52 GMT
  • Dependencies: @types/retry
  • Global values: none

Credits

These definitions were written by Albert Wu, Pablo Rodríguez, and Rafał Sawicki.

@radar/chain-watchers-ethereum@tuplo/fletchswash-smart-routernode-backpack.tf@everything-registry/sub-chunk-945@cryptoalgebra/routerwolkenkitwell-comeetselva-servertgit-apimedusa-events-webhooksmedusa-transform-webhooksmolestiaenesciuntkarasb-routergithub-fetch-workflow-artifactpanaromaswap_smartorderrouterpropeller-clientnoblogpuppeteer-in-electronpuppeteer-in-electron-personalpuppeteer-in-electron-xpuppeteer-in-electron2myyyyyyyyyyyyyyyyy-roooooooooooooooooooooooooouterqihoo-cliquickswap-smart-order-routerrip-db-jssls-jestsmart-order-routersmart-order-router-obasesmart-order-router-patchedudonswap-routing-apitwap-ui@arque/rabbitmq-connection@atlantiswap/smart-order-router@aurora-is-near/backstage-plugin-blockchainradar-backend@affinityproject/wallet-core-sdk@agungkes/fetch@axah/mq@azure-tools/openapi-tools-common@chaoswap/smart-order-router@adfinops/common@paraspace-liquidator/utils@fortaine/fetch@firefly-dex/routing-api@emag3m/smart-order-router@gbex_chain/smart-order-router@genesisprotocol/smart-order-router@infinitebrahmanuniverse/nolb-_types_a@lifeomic/dynamost@mthang1801/domain-driven-design@mthang1801/library@nixiangyu/smart-order-router@nixiangyu/smart-order-router-01@nojsja/puppeteer-in-electron@empiricalrun/r2-uploader@medlinker/service-core@jb1011/smart-order-router-old@j0nnyboi/client@jthissen/event-store@safecoin/client@s6nougat/smart-order-router@rip-db/browser@rip-db/node@pgrecki/wolkenkit-eventstore@orchard-insights/crew@slack-wrench/blocks-to-image@shootismoke/ui@stockninja/common@techgreedy/singularity-import@textile/threads-database@tendieswap/routing-api@vercel/fetch@ts-common/virtual-fs@weav3npm/routing-api@waterfor9/smart-order-router-old@zeit/fetch@zeit/dns-cached-resolvecreate-apollo-couchbase-servercreate-ak-appcreate-keystone-app-master-repocreate-gptcreate-monotscreate-new-express-appcreate-llamacreate-tsicreate-templating-clievents-analyticsessequibusdamexelerative@taraswap/routing-api
1.4.9

3 months ago

1.4.6

1 year ago

1.4.8

1 year ago

1.4.7

1 year ago

1.4.5

2 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

5 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago