Initial commit

This commit is contained in:
UltraLionfr
2024-11-04 15:43:02 +01:00
parent a342d67dc8
commit 861d1797b0
7308 changed files with 558047 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
'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
}
)
)
}
}
}