Home > @dinofe/xt-core > XAsyncRequestTransform

# XAsyncRequestTransform type

异步请求request转换钩子

Signature:

export type XAsyncRequestTransform = (request: AxiosRequestConfig, customConfig: CustomConfig) => Promise<void> | ((request: AxiosRequestConfig) => Promise<void>);

References: CustomConfig