@mir-dit/apollo-link-batch-alias
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

apollo-link-batch-alias

Batches multiple operations into a single HTTP request. Uses aliasies under the hood.

Installation

npm install @mir-dit/apollo-link-batch-alias --save

Usage

import { AliasBatchHttpLink } from '@mir-dit/apollo-link-batch-alias';

const link: AliasBatchHttpLink = new AliasBatchHttpLink({ uri, batchMax: 20, batchInterval: 300 });

/@mir-dit/apollo-link-batch-alias/

    Package Sidebar

    Install

    npm i @mir-dit/apollo-link-batch-alias

    Weekly Downloads

    0

    Version

    2.0.2

    License

    Apache 2.0

    Unpacked Size

    39.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • thespacehuman
    • exiragor
    • infodusha