Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InvokeFunction<InputTypes, OutputTypes, ResolvedClientConfiguration>

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

Type parameters

  • InputTypes: object

  • OutputTypes: MetadataBearer

  • ResolvedClientConfiguration

Hierarchy

  • InvokeFunction

Callable

  • __call<InputType, OutputType>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options?: any): Promise<OutputType>
  • __call<InputType, OutputType>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options: any, cb: (err: any, data?: OutputType) => void): void
  • __call<InputType, OutputType>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options?: any, cb?: undefined | ((err: any, data?: OutputType) => void)): Promise<OutputType> | void
  • function definition for different overrides of client's 'send' function.

    Type parameters

    • InputType: InputTypes

    • OutputType: OutputTypes

    Parameters

    • command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>
    • Optional options: any

    Returns Promise<OutputType>

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

    Type parameters

    • InputType: InputTypes

    • OutputType: OutputTypes

    Parameters

    • command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>
    • options: any
    • cb: (err: any, data?: OutputType) => void

    Returns void

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

    Type parameters

    • InputType: InputTypes

    • OutputType: OutputTypes

    Parameters

    • command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>
    • Optional options: any
    • Optional cb: undefined | ((err: any, data?: OutputType) => void)

    Returns Promise<OutputType> | void