Interface InvokeFunction<InputTypes, OutputTypes, ResolvedClientConfiguration>

function definition for different overrides of client's 'send' function.

interface InvokeFunction<InputTypes, OutputTypes, ResolvedClientConfiguration> {
    <InputType, OutputType>(command, options?): Promise<OutputType>;
    <InputType, OutputType>(command, cb): void;
    <InputType, OutputType>(command, options, cb): void;
    <InputType, OutputType>(command, options?, cb?): void | Promise<OutputType>;
}

Type Parameters

  • InputTypes extends object

  • OutputTypes extends MetadataBearer

  • ResolvedClientConfiguration