apollo-link-retry

  • Version 2.2.16
  • Published
  • 82 kB
  • 3 dependencies
  • MIT license

Install

npm i apollo-link-retry
yarn add apollo-link-retry
pnpm add apollo-link-retry

Overview

Retry Apollo Link for GraphQL Network Stack

Index

Classes

class RetryLink extends ApolloLink {}

    constructor

    constructor(options?: RetryLink.Options);

      method request

      request: (operation: Operation, nextLink: NextLink) => Observable<FetchResult>;

        Namespaces

        namespace RetryLink {}

          interface Options

          interface Options {}

            property attempts

            attempts?: RetryFunctionOptions | RetryFunction;

              property delay

              delay?: DelayFunctionOptions | DelayFunction;

                Package Files (2)

                Dependencies (3)

                Dev Dependencies (11)

                Peer Dependencies (0)

                No peer dependencies.

                Badge

                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/apollo-link-retry.

                • Markdown
                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/apollo-link-retry)
                • HTML
                  <a href="https://www.jsdocs.io/package/apollo-link-retry"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>