MCPcopy
hub / github.com/axios/axios / forEach

Method forEach

lib/core/InterceptorManager.js:63–69  ·  lib/core/InterceptorManager.js::InterceptorManager.forEach

* Iterate over all the registered interceptors * * This method is particularly useful for skipping over any * interceptors that may have become `null` calling `eject`. * * @param {Function} fn The function to call for each interceptor * * @returns {void}

(fn)

Source from the content-addressed store, hash-verified

61 * @returns {void}
62 */
63 forEach(fn) {
64 utils.forEach(this.handlers, function forEachHandler(h) {
65 if (h !== null) {
66 fn(h);
67 }
68 });
69 }
70}
71
72export default InterceptorManager;

Callers 15

webpack.config.jsFile · 0.80
defineFunction · 0.80
index.jsFile · 0.80
visitFunction · 0.80
transformDataFunction · 0.80
mergeConfigFunction · 0.80
buildAccessorsFunction · 0.80
setHeadersMethod · 0.80
deleteMethod · 0.80
normalizeMethod · 0.80
toJSONMethod · 0.80
concatMethod · 0.80

Calls 1

fnFunction · 0.85

Tested by 5

emitMethod · 0.64
requestFunction · 0.64
normalizeHeadersFunction · 0.64
requestFunction · 0.64
normalizeHeadersFunction · 0.64