Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InvokeFunction<InputTypes, OutputTypes, ResolvedClientConfiguration>

public

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
  • public

    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>

  • public

    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

  • public

    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