Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ResponseDeserializer<OutputType, ResponseType, Context>

public

Type parameters

  • OutputType

  • ResponseType = any

  • Context = any

Hierarchy

  • ResponseDeserializer

Callable

  • __call(output: ResponseType, context: Context): Promise<OutputType>
  • Converts the output of an operation into JavaScript types.

    Parameters

    • output: ResponseType

      The HTTP response received from the service

    • context: Context

      context containing runtime-specific util functions.

    Returns Promise<OutputType>