Files
SnowLuma/.pnpm-store/v11/files/aa/bb6753fe3f0ca020a8bee8980be2536fe38a7064654536d2c15970bbc78b4f85568c5bb1d33c9acb5b6757d7e7e69ae5283c5148eafd66bb8e705fe57f5eca
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

20 lines
419 B
Plaintext

'use strict'
const RetryHandler = require('../handler/retry-handler')
module.exports = globalOpts => {
return dispatch => {
return function retryInterceptor (opts, handler) {
return dispatch(
opts,
new RetryHandler(
{ ...opts, retryOptions: { ...globalOpts, ...opts.retryOptions } },
{
handler,
dispatch
}
)
)
}
}
}