wretch
    Preparing search index...

    Interface PerfsAddon

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

    Properties

    Properties

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

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

    Warning: Still experimental on browsers and node.js