Interface PerfsAddon

Hierarchy

  • PerfsAddon

Properties

Properties

perfs: (<T, C, R>(this, cb?) => PerfsAddon)

Type declaration

    • <T, C, R>(this, cb?): PerfsAddon
    • Performs a callback on the API performance timings of the request.

      Warning: Still experimental on browsers and node.js

      Type Parameters

      Parameters

      • this: C & WretchResponseChain<T, C, R>
      • Optional cb: ((timing) => void)
          • (timing): void
          • Parameters

            • timing: any

            Returns void

      Returns PerfsAddon

Generated using TypeDoc