Interface PerfsAddon

interface PerfsAddon {
    perfs: (<T, C, R>(this: C & WretchResponseChain<T, C, R>, cb?: PerfCallback) => this);
}

Properties

Properties

perfs: (<T, C, R>(this: C & WretchResponseChain<T, C, R>, cb?: PerfCallback) => this)

Performs a callback on the API performance timings of the request.

Warning: Still experimental on browsers and node.js