Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ServiceCallback<TResult>

Package version

Service callback that is returned for REST requests initiated by the service client.

Type parameters

  • TResult

Hierarchy

  • ServiceCallback

Callable

  • A method that will be invoked as a callback to a service function.

    Parameters

    • err: Error | RestError | null

      The error occurred if any, while executing the request; otherwise null.

    • Optional result: TResult

      The deserialized response body if an error did not occur.

    • Optional request: WebResourceLike

      The raw/actual request sent to the server if an error did not occur.

    • Optional response: HttpOperationResponse

      The raw/actual response from the server if an error did not occur.

    Returns void

Generated using TypeDoc