1.4.9 • Published 1 year ago

@types/async-retry v1.4.9

Weekly downloads
95,684
License
MIT
Repository
github
Last release
1 year 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-comeettgit-apikarasb-routermedusa-events-webhooksmedusa-transform-webhooks@waterfor9/smart-order-router-old@weav3npm/routing-api@ts-common/virtual-fs@vercel/fetch@zeit/dns-cached-resolve@zeit/fetch@textile/threads-database@tendieswap/routing-apiudonswap-routing-apitwap-ui@infinitebrahmanuniverse/nolb-_types_a@lifeomic/dynamostmolestiaenesciuntmyyyyyyyyyyyyyyyyy-roooooooooooooooooooooooooouterpanaromaswap_smartorderrouterselva-servernoblogqihoo-cliquickswap-smart-order-routerpuppeteer-in-electronpuppeteer-in-electron-personalpuppeteer-in-electron-xpuppeteer-in-electron2rip-db-jspropeller-clientsls-jestsmart-order-router-obasesmart-order-router-patchedsmart-order-routergithub-fetch-workflow-artifact@paraspace-liquidator/utils@nojsja/puppeteer-in-electron@orchard-insights/crew@gbex_chain/smart-order-router@genesisprotocol/smart-order-router@empiricalrun/r2-uploader@nixiangyu/smart-order-router@nixiangyu/smart-order-router-01@intuned/sdk@intuned/sdk-dev@fortaine/fetch@emag3m/smart-order-router@firefly-dex/routing-api@pgrecki/wolkenkit-eventstore@shootismoke/ui@stockninja/common@storyhunt/smart-order-router@storyhunt/smart-order-router-mainnet-test@techgreedy/singularity-import@taraswap/routing-apievents-analyticsexelerativeessequibusdam@safecoin/client@chaoswap/smart-order-router@azure-tools/openapi-tools-common@axah/mq@s6nougat/smart-order-router@ronin/render@ronin-dist/rendercreate-templating-clicreate-llamacreate-new-express-appcreate-ak-appcreate-apollo-couchbase-servercreate-gptcreate-tsicreate-keystone-app-master-repocreate-monots@affinityproject/wallet-core-sdk@adfinops/common@agungkes/fetch@arque/rabbitmq-connection@atlantiswap/smart-order-router@aurora-is-near/backstage-plugin-blockchainradar-backend@jthissen/event-store@mthang1801/domain-driven-design@mthang1801/library@j0nnyboi/client@slack-wrench/blocks-to-image@jb1011/smart-order-router-old@rip-db/browser@rip-db/node@medlinker/service-core
1.4.9

1 year ago

1.4.6

2 years ago

1.4.8

2 years ago

1.4.7

2 years ago

1.4.5

3 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

5 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

8 years ago

1.1.0

8 years ago