diff options
Diffstat (limited to 'vanilla/node_modules/undici/lib/interceptor/retry.js')
| -rw-r--r-- | vanilla/node_modules/undici/lib/interceptor/retry.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/vanilla/node_modules/undici/lib/interceptor/retry.js b/vanilla/node_modules/undici/lib/interceptor/retry.js deleted file mode 100644 index 1c16fd8..0000000 --- a/vanilla/node_modules/undici/lib/interceptor/retry.js +++ /dev/null @@ -1,19 +0,0 @@ -'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 - } - ) - ) - } - } -} |
