autoPipelining.d.ts 625 B

12345678
  1. /// <reference types="node" />
  2. import { ArgumentType } from "./Command";
  3. export declare const kExec: unique symbol;
  4. export declare const kCallbacks: unique symbol;
  5. export declare const notAllowedAutoPipelineCommands: string[];
  6. export declare function shouldUseAutoPipelining(client: any, functionName: string, commandName: string): boolean;
  7. export declare function getFirstValueInFlattenedArray(args: ArgumentType[]): string | Buffer | number | null | undefined;
  8. export declare function executeWithAutoPipelining(client: any, functionName: string, commandName: string, args: ArgumentType[], callback: any): Promise<unknown>;