GraphiQL API Documentation
    Preparing search index...

    Type Alias OnResponseCallback

    OnResponseCallback: (res: TransportResponse) => void

    A function invoked after a response is received. Observe-only: a callback that throws is logged to the console and does not affect the stream.

    Type Declaration

      • (res: TransportResponse): void
      • Parameters

        • res: TransportResponse

        Returns void